|
| 1 | +public final class io/sentry/opentelemetry/OpenTelemetryAttributesExtractor { |
| 2 | + public fun <init> ()V |
| 3 | + public fun extract (Lio/opentelemetry/sdk/trace/data/SpanData;Lio/sentry/IScope;Lio/sentry/SentryOptions;)V |
| 4 | + public fun extractUrl (Lio/opentelemetry/api/common/Attributes;Lio/sentry/SentryOptions;)Ljava/lang/String; |
| 5 | +} |
| 6 | + |
| 7 | +public final class io/sentry/opentelemetry/OpenTelemetryLinkErrorEventProcessor : io/sentry/EventProcessor { |
| 8 | + public fun <init> ()V |
| 9 | + public fun getOrder ()Ljava/lang/Long; |
| 10 | + public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent; |
| 11 | +} |
| 12 | + |
| 13 | +public final class io/sentry/opentelemetry/OtelInternalSpanDetectionUtil { |
| 14 | + public fun <init> ()V |
| 15 | + public static fun isSentryRequest (Lio/sentry/IScopes;Lio/opentelemetry/api/trace/SpanKind;Lio/opentelemetry/api/common/Attributes;)Z |
| 16 | +} |
| 17 | + |
| 18 | +public final class io/sentry/opentelemetry/OtelSamplingUtil { |
| 19 | + public fun <init> ()V |
| 20 | + public static fun extractSamplingDecision (Lio/opentelemetry/api/common/Attributes;)Lio/sentry/TracesSamplingDecision; |
| 21 | +} |
| 22 | + |
| 23 | +public final class io/sentry/opentelemetry/OtelSentryPropagator : io/opentelemetry/context/propagation/TextMapPropagator { |
| 24 | + public fun <init> ()V |
| 25 | + public fun extract (Lio/opentelemetry/context/Context;Ljava/lang/Object;Lio/opentelemetry/context/propagation/TextMapGetter;)Lio/opentelemetry/context/Context; |
| 26 | + public fun fields ()Ljava/util/Collection; |
| 27 | + public fun inject (Lio/opentelemetry/context/Context;Ljava/lang/Object;Lio/opentelemetry/context/propagation/TextMapSetter;)V |
| 28 | +} |
| 29 | + |
| 30 | +public final class io/sentry/opentelemetry/OtelSentrySpanProcessor : io/opentelemetry/sdk/trace/SpanProcessor { |
| 31 | + public fun <init> ()V |
| 32 | + public fun isEndRequired ()Z |
| 33 | + public fun isStartRequired ()Z |
| 34 | + public fun onEnd (Lio/opentelemetry/sdk/trace/ReadableSpan;)V |
| 35 | + public fun onStart (Lio/opentelemetry/context/Context;Lio/opentelemetry/sdk/trace/ReadWriteSpan;)V |
| 36 | +} |
| 37 | + |
| 38 | +public final class io/sentry/opentelemetry/OtelSpanContext : io/sentry/SpanContext { |
| 39 | + public fun <init> (Lio/opentelemetry/sdk/trace/ReadWriteSpan;Lio/sentry/TracesSamplingDecision;Lio/sentry/opentelemetry/IOtelSpanWrapper;Lio/sentry/SpanId;Lio/sentry/Baggage;)V |
| 40 | + public fun getOperation ()Ljava/lang/String; |
| 41 | + public fun getStatus ()Lio/sentry/SpanStatus; |
| 42 | + public fun setOperation (Ljava/lang/String;)V |
| 43 | + public fun setStatus (Lio/sentry/SpanStatus;)V |
| 44 | +} |
| 45 | + |
| 46 | +public final class io/sentry/opentelemetry/OtelSpanInfo { |
| 47 | + public fun <init> (Ljava/lang/String;Ljava/lang/String;Lio/sentry/protocol/TransactionNameSource;)V |
| 48 | + public fun getDescription ()Ljava/lang/String; |
| 49 | + public fun getOp ()Ljava/lang/String; |
| 50 | + public fun getTransactionNameSource ()Lio/sentry/protocol/TransactionNameSource; |
| 51 | +} |
| 52 | + |
| 53 | +public final class io/sentry/opentelemetry/OtelSpanUtils { |
| 54 | + public fun <init> ()V |
| 55 | + public static fun maybeTransferOtelAttribute (Lio/opentelemetry/sdk/trace/data/SpanData;Lio/sentry/ISpan;Lio/opentelemetry/api/common/AttributeKey;)V |
| 56 | +} |
| 57 | + |
| 58 | +public final class io/sentry/opentelemetry/OtelSpanWrapper : io/sentry/opentelemetry/IOtelSpanWrapper { |
| 59 | + public fun <init> (Lio/opentelemetry/sdk/trace/ReadWriteSpan;Lio/sentry/IScopes;Lio/sentry/SentryDate;Lio/sentry/TracesSamplingDecision;Lio/sentry/opentelemetry/IOtelSpanWrapper;Lio/sentry/SpanId;Lio/sentry/Baggage;)V |
| 60 | + public fun addFeatureFlag (Ljava/lang/String;Ljava/lang/Boolean;)V |
| 61 | + public fun finish ()V |
| 62 | + public fun finish (Lio/sentry/SpanStatus;)V |
| 63 | + public fun finish (Lio/sentry/SpanStatus;Lio/sentry/SentryDate;)V |
| 64 | + public fun getContexts ()Lio/sentry/protocol/Contexts; |
| 65 | + public fun getData ()Ljava/util/Map; |
| 66 | + public fun getData (Ljava/lang/String;)Ljava/lang/Object; |
| 67 | + public fun getDescription ()Ljava/lang/String; |
| 68 | + public fun getFinishDate ()Lio/sentry/SentryDate; |
| 69 | + public fun getMeasurements ()Ljava/util/Map; |
| 70 | + public fun getOpenTelemetrySpanAttributes ()Lio/opentelemetry/api/common/Attributes; |
| 71 | + public fun getOperation ()Ljava/lang/String; |
| 72 | + public fun getSamplingDecision ()Lio/sentry/TracesSamplingDecision; |
| 73 | + public fun getScopes ()Lio/sentry/IScopes; |
| 74 | + public fun getSpanContext ()Lio/sentry/SpanContext; |
| 75 | + public fun getStartDate ()Lio/sentry/SentryDate; |
| 76 | + public fun getStatus ()Lio/sentry/SpanStatus; |
| 77 | + public fun getTag (Ljava/lang/String;)Ljava/lang/String; |
| 78 | + public fun getTags ()Ljava/util/Map; |
| 79 | + public fun getThrowable ()Ljava/lang/Throwable; |
| 80 | + public fun getTraceId ()Lio/sentry/protocol/SentryId; |
| 81 | + public fun getTransactionName ()Ljava/lang/String; |
| 82 | + public fun getTransactionNameSource ()Lio/sentry/protocol/TransactionNameSource; |
| 83 | + public fun isFinished ()Z |
| 84 | + public fun isNoOp ()Z |
| 85 | + public fun isProfileSampled ()Ljava/lang/Boolean; |
| 86 | + public fun isSampled ()Ljava/lang/Boolean; |
| 87 | + public fun makeCurrent ()Lio/sentry/ISentryLifecycleToken; |
| 88 | + public fun setContext (Ljava/lang/String;Ljava/lang/Object;)V |
| 89 | + public fun setData (Ljava/lang/String;Ljava/lang/Object;)V |
| 90 | + public fun setDescription (Ljava/lang/String;)V |
| 91 | + public fun setMeasurement (Ljava/lang/String;Ljava/lang/Number;)V |
| 92 | + public fun setMeasurement (Ljava/lang/String;Ljava/lang/Number;Lio/sentry/MeasurementUnit;)V |
| 93 | + public fun setOperation (Ljava/lang/String;)V |
| 94 | + public fun setStatus (Lio/sentry/SpanStatus;)V |
| 95 | + public fun setTag (Ljava/lang/String;Ljava/lang/String;)V |
| 96 | + public fun setThrowable (Ljava/lang/Throwable;)V |
| 97 | + public fun setTransactionName (Ljava/lang/String;)V |
| 98 | + public fun setTransactionName (Ljava/lang/String;Lio/sentry/protocol/TransactionNameSource;)V |
| 99 | + public fun startChild (Lio/sentry/SpanContext;Lio/sentry/SpanOptions;)Lio/sentry/ISpan; |
| 100 | + public fun startChild (Ljava/lang/String;)Lio/sentry/ISpan; |
| 101 | + public fun startChild (Ljava/lang/String;Ljava/lang/String;)Lio/sentry/ISpan; |
| 102 | + public fun startChild (Ljava/lang/String;Ljava/lang/String;Lio/sentry/SentryDate;Lio/sentry/Instrumenter;)Lio/sentry/ISpan; |
| 103 | + public fun startChild (Ljava/lang/String;Ljava/lang/String;Lio/sentry/SentryDate;Lio/sentry/Instrumenter;Lio/sentry/SpanOptions;)Lio/sentry/ISpan; |
| 104 | + public fun startChild (Ljava/lang/String;Ljava/lang/String;Lio/sentry/SpanOptions;)Lio/sentry/ISpan; |
| 105 | + public fun storeInContext (Lio/opentelemetry/context/Context;)Lio/opentelemetry/context/Context; |
| 106 | + public fun toBaggageHeader (Ljava/util/List;)Lio/sentry/BaggageHeader; |
| 107 | + public fun toSentryTrace ()Lio/sentry/SentryTraceHeader; |
| 108 | + public fun traceContext ()Lio/sentry/TraceContext; |
| 109 | + public fun updateEndDate (Lio/sentry/SentryDate;)Z |
| 110 | +} |
| 111 | + |
| 112 | +public final class io/sentry/opentelemetry/SentryPropagator : io/opentelemetry/context/propagation/TextMapPropagator { |
| 113 | + public fun <init> ()V |
| 114 | + public fun extract (Lio/opentelemetry/context/Context;Ljava/lang/Object;Lio/opentelemetry/context/propagation/TextMapGetter;)Lio/opentelemetry/context/Context; |
| 115 | + public fun fields ()Ljava/util/Collection; |
| 116 | + public fun inject (Lio/opentelemetry/context/Context;Ljava/lang/Object;Lio/opentelemetry/context/propagation/TextMapSetter;)V |
| 117 | +} |
| 118 | + |
| 119 | +public final class io/sentry/opentelemetry/SentrySampler : io/opentelemetry/sdk/trace/samplers/Sampler { |
| 120 | + public fun <init> ()V |
| 121 | + public fun <init> (Lio/sentry/IScopes;)V |
| 122 | + public fun getDescription ()Ljava/lang/String; |
| 123 | + public fun shouldSample (Lio/opentelemetry/context/Context;Ljava/lang/String;Ljava/lang/String;Lio/opentelemetry/api/trace/SpanKind;Lio/opentelemetry/api/common/Attributes;Ljava/util/List;)Lio/opentelemetry/sdk/trace/samplers/SamplingResult; |
| 124 | +} |
| 125 | + |
| 126 | +public final class io/sentry/opentelemetry/SentrySamplingResult : io/opentelemetry/sdk/trace/samplers/SamplingResult { |
| 127 | + public fun <init> (Lio/sentry/TracesSamplingDecision;)V |
| 128 | + public fun getAttributes ()Lio/opentelemetry/api/common/Attributes; |
| 129 | + public fun getDecision ()Lio/opentelemetry/sdk/trace/samplers/SamplingDecision; |
| 130 | + public fun getSentryDecision ()Lio/sentry/TracesSamplingDecision; |
| 131 | +} |
| 132 | + |
| 133 | +public final class io/sentry/opentelemetry/SentrySpanExporter : io/opentelemetry/sdk/trace/export/SpanExporter { |
| 134 | + public static final field TRACE_ORIGIN Ljava/lang/String; |
| 135 | + public fun <init> ()V |
| 136 | + public fun <init> (Lio/sentry/IScopes;)V |
| 137 | + public fun export (Ljava/util/Collection;)Lio/opentelemetry/sdk/common/CompletableResultCode; |
| 138 | + public fun flush ()Lio/opentelemetry/sdk/common/CompletableResultCode; |
| 139 | + public fun shutdown ()Lio/opentelemetry/sdk/common/CompletableResultCode; |
| 140 | +} |
| 141 | + |
| 142 | +public final class io/sentry/opentelemetry/SentrySpanProcessor : io/opentelemetry/sdk/trace/SpanProcessor { |
| 143 | + public fun <init> ()V |
| 144 | + public fun isEndRequired ()Z |
| 145 | + public fun isStartRequired ()Z |
| 146 | + public fun onEnd (Lio/opentelemetry/sdk/trace/ReadableSpan;)V |
| 147 | + public fun onStart (Lio/opentelemetry/context/Context;Lio/opentelemetry/sdk/trace/ReadWriteSpan;)V |
| 148 | +} |
| 149 | + |
| 150 | +public final class io/sentry/opentelemetry/SpanDescriptionExtractor { |
| 151 | + public fun <init> ()V |
| 152 | + public fun extractSpanInfo (Lio/opentelemetry/sdk/trace/data/SpanData;Lio/sentry/opentelemetry/IOtelSpanWrapper;)Lio/sentry/opentelemetry/OtelSpanInfo; |
| 153 | +} |
| 154 | + |
| 155 | +public final class io/sentry/opentelemetry/SpanNode { |
| 156 | + public fun <init> (Ljava/lang/String;)V |
| 157 | + public fun addChild (Lio/sentry/opentelemetry/SpanNode;)V |
| 158 | + public fun addChildren (Ljava/util/List;)V |
| 159 | + public fun getChildren ()Ljava/util/List; |
| 160 | + public fun getId ()Ljava/lang/String; |
| 161 | + public fun getParentNode ()Lio/sentry/opentelemetry/SpanNode; |
| 162 | + public fun getSpan ()Lio/opentelemetry/sdk/trace/data/SpanData; |
| 163 | + public fun setParentNode (Lio/sentry/opentelemetry/SpanNode;)V |
| 164 | + public fun setSpan (Lio/opentelemetry/sdk/trace/data/SpanData;)V |
| 165 | +} |
| 166 | + |
| 167 | +public final class io/sentry/opentelemetry/TraceData { |
| 168 | + public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/sentry/SentryTraceHeader;Lio/sentry/Baggage;)V |
| 169 | + public fun getBaggage ()Lio/sentry/Baggage; |
| 170 | + public fun getParentSpanId ()Ljava/lang/String; |
| 171 | + public fun getSentryTraceHeader ()Lio/sentry/SentryTraceHeader; |
| 172 | + public fun getSpanId ()Ljava/lang/String; |
| 173 | + public fun getTraceId ()Ljava/lang/String; |
| 174 | +} |
| 175 | + |
0 commit comments