Package com.intergral.deep.plugin
Class OtelPlugin
- java.lang.Object
-
- com.intergral.deep.plugin.OtelPlugin
-
- All Implemented Interfaces:
com.intergral.deep.agent.api.plugin.IMetricProcessor,com.intergral.deep.agent.api.plugin.ISnapshotDecorator,com.intergral.deep.agent.api.plugin.ITraceProvider,com.intergral.deep.agent.api.spi.IConditional,com.intergral.deep.agent.api.spi.IDeepPlugin,com.intergral.deep.agent.api.spi.Ordered
public class OtelPlugin extends Object implements com.intergral.deep.agent.api.spi.IDeepPlugin, com.intergral.deep.agent.api.plugin.ITraceProvider, com.intergral.deep.agent.api.plugin.IMetricProcessor, com.intergral.deep.agent.api.spi.IConditional, com.intergral.deep.agent.api.plugin.ISnapshotDecorator
This plugin provides a connection between Deep and Otel. Allowing:- Metrics to be processed via Otel
- Traces to be created using Otel
-
-
Constructor Summary
Constructors Constructor Description OtelPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcounter(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)com.intergral.deep.agent.api.plugin.ITraceProvider.ISpancreateSpan(String name)com.intergral.deep.agent.api.plugin.ITraceProvider.ISpancurrentSpan()com.intergral.deep.agent.api.resource.Resourcedecorate(com.intergral.deep.agent.api.settings.ISettings settings, com.intergral.deep.agent.api.plugin.ISnapshotContext snapshot)voidgauge(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)voidhistogram(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)booleanisActive()voidsummary(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)
-
-
-
Method Detail
-
counter
public void counter(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)
- Specified by:
counterin interfacecom.intergral.deep.agent.api.plugin.IMetricProcessor
-
gauge
public void gauge(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)
- Specified by:
gaugein interfacecom.intergral.deep.agent.api.plugin.IMetricProcessor
-
histogram
public void histogram(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)
- Specified by:
histogramin interfacecom.intergral.deep.agent.api.plugin.IMetricProcessor
-
summary
public void summary(String name, Map<String,Object> labels, String namespace, String help, String unit, Double value)
- Specified by:
summaryin interfacecom.intergral.deep.agent.api.plugin.IMetricProcessor
-
createSpan
public com.intergral.deep.agent.api.plugin.ITraceProvider.ISpan createSpan(String name)
- Specified by:
createSpanin interfacecom.intergral.deep.agent.api.plugin.ITraceProvider
-
currentSpan
public com.intergral.deep.agent.api.plugin.ITraceProvider.ISpan currentSpan()
- Specified by:
currentSpanin interfacecom.intergral.deep.agent.api.plugin.ITraceProvider
-
isActive
public boolean isActive()
- Specified by:
isActivein interfacecom.intergral.deep.agent.api.spi.IConditional
-
decorate
public com.intergral.deep.agent.api.resource.Resource decorate(com.intergral.deep.agent.api.settings.ISettings settings, com.intergral.deep.agent.api.plugin.ISnapshotContext snapshot)- Specified by:
decoratein interfacecom.intergral.deep.agent.api.plugin.ISnapshotDecorator
-
-