From c06be6df25ba21050827752f6e88b5054015a1a4 Mon Sep 17 00:00:00 2001 From: xu0o0 Date: Thu, 14 Nov 2024 12:14:54 +0800 Subject: [PATCH] [extension/encoding][otlpencodingextension] Add support for profiles signal (#36008) #### Description Add support for profiles signal to `encodingextension`. --- .chloggen/f-profiles-encoding-extension.yaml | 27 +++++++ .../encoding/avrologencodingextension/go.mod | 1 + .../encoding/avrologencodingextension/go.sum | 2 + extension/encoding/encoding.go | 13 ++++ extension/encoding/go.mod | 1 + extension/encoding/go.sum | 2 + .../encoding/jaegerencodingextension/go.mod | 1 + .../encoding/jaegerencodingextension/go.sum | 2 + .../encoding/jsonlogencodingextension/go.mod | 1 + .../encoding/jsonlogencodingextension/go.sum | 2 + .../otlpencodingextension/extension.go | 73 ++++++++++++------- .../otlpencodingextension/extension_test.go | 26 +++++++ .../encoding/otlpencodingextension/go.mod | 1 + .../encoding/otlpencodingextension/go.sum | 2 + .../encoding/textencodingextension/go.mod | 1 + .../encoding/textencodingextension/go.sum | 2 + .../encoding/zipkinencodingextension/go.mod | 1 + .../encoding/zipkinencodingextension/go.sum | 2 + 18 files changed, 133 insertions(+), 27 deletions(-) create mode 100644 .chloggen/f-profiles-encoding-extension.yaml diff --git a/.chloggen/f-profiles-encoding-extension.yaml b/.chloggen/f-profiles-encoding-extension.yaml new file mode 100644 index 000000000000..9e7904921eb4 --- /dev/null +++ b/.chloggen/f-profiles-encoding-extension.yaml @@ -0,0 +1,27 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: encodingextension + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Add support for profiles signal to encodingextension + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [36008] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: + +# If your change doesn't affect end users or the exported elements of any package, +# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [] diff --git a/extension/encoding/avrologencodingextension/go.mod b/extension/encoding/avrologencodingextension/go.mod index 02791ce6c520..62fadd5f8d43 100644 --- a/extension/encoding/avrologencodingextension/go.mod +++ b/extension/encoding/avrologencodingextension/go.mod @@ -31,6 +31,7 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect go.opentelemetry.io/collector/config/configtelemetry v0.113.0 // indirect + go.opentelemetry.io/collector/pdata/pprofile v0.113.0 // indirect go.opentelemetry.io/otel v1.31.0 // indirect go.opentelemetry.io/otel/metric v1.31.0 // indirect go.opentelemetry.io/otel/sdk v1.31.0 // indirect diff --git a/extension/encoding/avrologencodingextension/go.sum b/extension/encoding/avrologencodingextension/go.sum index 268245a37197..e9ce117f40a4 100644 --- a/extension/encoding/avrologencodingextension/go.sum +++ b/extension/encoding/avrologencodingextension/go.sum @@ -67,6 +67,8 @@ go.opentelemetry.io/collector/extension v0.113.0 h1:Vp/YSL8ZCkJQrP1lf2Bm5yaTvcp6 go.opentelemetry.io/collector/extension v0.113.0/go.mod h1:Pwp0TNqdHeER4V1I6H6oCvrto/riiOAqs3737BWCnjw= go.opentelemetry.io/collector/pdata v1.19.0 h1:jmnU5R8TOCbwRr4B8sjdRxM7L5WnEKlQWX1dtLYxIbE= go.opentelemetry.io/collector/pdata v1.19.0/go.mod h1:Ox1YVLe87cZDB/TL30i4SUz1cA5s6AM6SpFMfY61ICs= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0 h1:VRf4p0VhfuaR+Epy/nMIlu/9t39WU9CUgHVUvpuGxfU= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0/go.mod h1:5aDejksdXh5PdJN/OhpzATGT3kbNL0RMmw2Q0Q6E/o0= go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= diff --git a/extension/encoding/encoding.go b/extension/encoding/encoding.go index 1981420a0130..189466d50de0 100644 --- a/extension/encoding/encoding.go +++ b/extension/encoding/encoding.go @@ -7,6 +7,7 @@ import ( "go.opentelemetry.io/collector/extension" "go.opentelemetry.io/collector/pdata/plog" "go.opentelemetry.io/collector/pdata/pmetric" + "go.opentelemetry.io/collector/pdata/pprofile" "go.opentelemetry.io/collector/pdata/ptrace" ) @@ -45,3 +46,15 @@ type TracesUnmarshalerExtension interface { extension.Extension ptrace.Unmarshaler } + +// ProfilesMarshalerExtension is an extension that marshals profiles. +type ProfilesMarshalerExtension interface { + extension.Extension + pprofile.Marshaler +} + +// ProfilesUnmarshalerExtension is an extension that unmarshals Profiles. +type ProfilesUnmarshalerExtension interface { + extension.Extension + pprofile.Unmarshaler +} diff --git a/extension/encoding/go.mod b/extension/encoding/go.mod index 33949dfb3ca3..7a182319974a 100644 --- a/extension/encoding/go.mod +++ b/extension/encoding/go.mod @@ -5,6 +5,7 @@ go 1.22.0 require ( go.opentelemetry.io/collector/extension v0.113.0 go.opentelemetry.io/collector/pdata v1.19.0 + go.opentelemetry.io/collector/pdata/pprofile v0.113.0 ) require ( diff --git a/extension/encoding/go.sum b/extension/encoding/go.sum index d4e23c28b54e..2a371c7a5267 100644 --- a/extension/encoding/go.sum +++ b/extension/encoding/go.sum @@ -37,6 +37,8 @@ go.opentelemetry.io/collector/extension v0.113.0 h1:Vp/YSL8ZCkJQrP1lf2Bm5yaTvcp6 go.opentelemetry.io/collector/extension v0.113.0/go.mod h1:Pwp0TNqdHeER4V1I6H6oCvrto/riiOAqs3737BWCnjw= go.opentelemetry.io/collector/pdata v1.19.0 h1:jmnU5R8TOCbwRr4B8sjdRxM7L5WnEKlQWX1dtLYxIbE= go.opentelemetry.io/collector/pdata v1.19.0/go.mod h1:Ox1YVLe87cZDB/TL30i4SUz1cA5s6AM6SpFMfY61ICs= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0 h1:VRf4p0VhfuaR+Epy/nMIlu/9t39WU9CUgHVUvpuGxfU= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0/go.mod h1:5aDejksdXh5PdJN/OhpzATGT3kbNL0RMmw2Q0Q6E/o0= go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= diff --git a/extension/encoding/jaegerencodingextension/go.mod b/extension/encoding/jaegerencodingextension/go.mod index 05c7689fb54a..0486a3aceefd 100644 --- a/extension/encoding/jaegerencodingextension/go.mod +++ b/extension/encoding/jaegerencodingextension/go.mod @@ -33,6 +33,7 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.113.0 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect go.opentelemetry.io/collector/config/configtelemetry v0.113.0 // indirect + go.opentelemetry.io/collector/pdata/pprofile v0.113.0 // indirect go.opentelemetry.io/collector/semconv v0.113.0 // indirect go.opentelemetry.io/otel v1.32.0 // indirect go.opentelemetry.io/otel/metric v1.32.0 // indirect diff --git a/extension/encoding/jaegerencodingextension/go.sum b/extension/encoding/jaegerencodingextension/go.sum index cc358cafe16a..4b3a3d04e54c 100644 --- a/extension/encoding/jaegerencodingextension/go.sum +++ b/extension/encoding/jaegerencodingextension/go.sum @@ -64,6 +64,8 @@ go.opentelemetry.io/collector/extension v0.113.0 h1:Vp/YSL8ZCkJQrP1lf2Bm5yaTvcp6 go.opentelemetry.io/collector/extension v0.113.0/go.mod h1:Pwp0TNqdHeER4V1I6H6oCvrto/riiOAqs3737BWCnjw= go.opentelemetry.io/collector/pdata v1.19.0 h1:jmnU5R8TOCbwRr4B8sjdRxM7L5WnEKlQWX1dtLYxIbE= go.opentelemetry.io/collector/pdata v1.19.0/go.mod h1:Ox1YVLe87cZDB/TL30i4SUz1cA5s6AM6SpFMfY61ICs= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0 h1:VRf4p0VhfuaR+Epy/nMIlu/9t39WU9CUgHVUvpuGxfU= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0/go.mod h1:5aDejksdXh5PdJN/OhpzATGT3kbNL0RMmw2Q0Q6E/o0= go.opentelemetry.io/collector/semconv v0.113.0 h1:twenSI7M7MJMJKW8D6a/GXxPZTPbama/weywBtV2iFw= go.opentelemetry.io/collector/semconv v0.113.0/go.mod h1:zCJ5njhWpejR+A40kiEoeFm1xq1uzyZwMnRNX6/D82A= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/extension/encoding/jsonlogencodingextension/go.mod b/extension/encoding/jsonlogencodingextension/go.mod index 316738d3b5fb..82e5f9cf0780 100644 --- a/extension/encoding/jsonlogencodingextension/go.mod +++ b/extension/encoding/jsonlogencodingextension/go.mod @@ -29,6 +29,7 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect go.opentelemetry.io/collector/config/configtelemetry v0.113.0 // indirect + go.opentelemetry.io/collector/pdata/pprofile v0.113.0 // indirect go.opentelemetry.io/otel v1.31.0 // indirect go.opentelemetry.io/otel/metric v1.31.0 // indirect go.opentelemetry.io/otel/sdk v1.31.0 // indirect diff --git a/extension/encoding/jsonlogencodingextension/go.sum b/extension/encoding/jsonlogencodingextension/go.sum index 125be8ac6262..6959c0e05485 100644 --- a/extension/encoding/jsonlogencodingextension/go.sum +++ b/extension/encoding/jsonlogencodingextension/go.sum @@ -60,6 +60,8 @@ go.opentelemetry.io/collector/extension v0.113.0 h1:Vp/YSL8ZCkJQrP1lf2Bm5yaTvcp6 go.opentelemetry.io/collector/extension v0.113.0/go.mod h1:Pwp0TNqdHeER4V1I6H6oCvrto/riiOAqs3737BWCnjw= go.opentelemetry.io/collector/pdata v1.19.0 h1:jmnU5R8TOCbwRr4B8sjdRxM7L5WnEKlQWX1dtLYxIbE= go.opentelemetry.io/collector/pdata v1.19.0/go.mod h1:Ox1YVLe87cZDB/TL30i4SUz1cA5s6AM6SpFMfY61ICs= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0 h1:VRf4p0VhfuaR+Epy/nMIlu/9t39WU9CUgHVUvpuGxfU= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0/go.mod h1:5aDejksdXh5PdJN/OhpzATGT3kbNL0RMmw2Q0Q6E/o0= go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= diff --git a/extension/encoding/otlpencodingextension/extension.go b/extension/encoding/otlpencodingextension/extension.go index 748f0a536e5a..375180d11d37 100644 --- a/extension/encoding/otlpencodingextension/extension.go +++ b/extension/encoding/otlpencodingextension/extension.go @@ -10,6 +10,7 @@ import ( "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/pdata/plog" "go.opentelemetry.io/collector/pdata/pmetric" + "go.opentelemetry.io/collector/pdata/pprofile" "go.opentelemetry.io/collector/pdata/ptrace" "github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding" @@ -21,22 +22,26 @@ const ( ) var ( - _ encoding.TracesMarshalerExtension = (*otlpExtension)(nil) - _ encoding.TracesUnmarshalerExtension = (*otlpExtension)(nil) - _ encoding.LogsMarshalerExtension = (*otlpExtension)(nil) - _ encoding.LogsUnmarshalerExtension = (*otlpExtension)(nil) - _ encoding.MetricsMarshalerExtension = (*otlpExtension)(nil) - _ encoding.MetricsUnmarshalerExtension = (*otlpExtension)(nil) + _ encoding.TracesMarshalerExtension = (*otlpExtension)(nil) + _ encoding.TracesUnmarshalerExtension = (*otlpExtension)(nil) + _ encoding.LogsMarshalerExtension = (*otlpExtension)(nil) + _ encoding.LogsUnmarshalerExtension = (*otlpExtension)(nil) + _ encoding.MetricsMarshalerExtension = (*otlpExtension)(nil) + _ encoding.MetricsUnmarshalerExtension = (*otlpExtension)(nil) + _ encoding.ProfilesMarshalerExtension = (*otlpExtension)(nil) + _ encoding.ProfilesUnmarshalerExtension = (*otlpExtension)(nil) ) type otlpExtension struct { - config *Config - traceMarshaler ptrace.Marshaler - traceUnmarshaler ptrace.Unmarshaler - logMarshaler plog.Marshaler - logUnmarshaler plog.Unmarshaler - metricMarshaler pmetric.Marshaler - metricUnmarshaler pmetric.Unmarshaler + config *Config + traceMarshaler ptrace.Marshaler + traceUnmarshaler ptrace.Unmarshaler + logMarshaler plog.Marshaler + logUnmarshaler plog.Unmarshaler + metricMarshaler pmetric.Marshaler + metricUnmarshaler pmetric.Unmarshaler + profileMarshaler pprofile.Marshaler + profileUnmarshaler pprofile.Unmarshaler } func newExtension(config *Config) (*otlpExtension, error) { @@ -46,23 +51,27 @@ func newExtension(config *Config) (*otlpExtension, error) { switch protocol { case otlpProto: ex = &otlpExtension{ - config: config, - traceMarshaler: &ptrace.ProtoMarshaler{}, - traceUnmarshaler: &ptrace.ProtoUnmarshaler{}, - logMarshaler: &plog.ProtoMarshaler{}, - logUnmarshaler: &plog.ProtoUnmarshaler{}, - metricMarshaler: &pmetric.ProtoMarshaler{}, - metricUnmarshaler: &pmetric.ProtoUnmarshaler{}, + config: config, + traceMarshaler: &ptrace.ProtoMarshaler{}, + traceUnmarshaler: &ptrace.ProtoUnmarshaler{}, + logMarshaler: &plog.ProtoMarshaler{}, + logUnmarshaler: &plog.ProtoUnmarshaler{}, + metricMarshaler: &pmetric.ProtoMarshaler{}, + metricUnmarshaler: &pmetric.ProtoUnmarshaler{}, + profileMarshaler: &pprofile.ProtoMarshaler{}, + profileUnmarshaler: &pprofile.ProtoUnmarshaler{}, } case otlpJSON: ex = &otlpExtension{ - config: config, - traceMarshaler: &ptrace.JSONMarshaler{}, - traceUnmarshaler: &ptrace.JSONUnmarshaler{}, - logMarshaler: &plog.JSONMarshaler{}, - logUnmarshaler: &plog.JSONUnmarshaler{}, - metricMarshaler: &pmetric.JSONMarshaler{}, - metricUnmarshaler: &pmetric.JSONUnmarshaler{}, + config: config, + traceMarshaler: &ptrace.JSONMarshaler{}, + traceUnmarshaler: &ptrace.JSONUnmarshaler{}, + logMarshaler: &plog.JSONMarshaler{}, + logUnmarshaler: &plog.JSONUnmarshaler{}, + metricMarshaler: &pmetric.JSONMarshaler{}, + metricUnmarshaler: &pmetric.JSONUnmarshaler{}, + profileMarshaler: &pprofile.JSONMarshaler{}, + profileUnmarshaler: &pprofile.JSONUnmarshaler{}, } default: err = fmt.Errorf("unsupported protocol: %q", protocol) @@ -95,6 +104,16 @@ func (ex *otlpExtension) MarshalLogs(logs plog.Logs) ([]byte, error) { return ex.logMarshaler.MarshalLogs(logs) } +// UnmarshalProfiles implements encoding.ProfilesUnmarshalerExtension. +func (ex *otlpExtension) UnmarshalProfiles(buf []byte) (pprofile.Profiles, error) { + return ex.profileUnmarshaler.UnmarshalProfiles(buf) +} + +// MarshalProfiles implements encoding.ProfilesMarshalerExtension. +func (ex *otlpExtension) MarshalProfiles(profiles pprofile.Profiles) ([]byte, error) { + return ex.profileMarshaler.MarshalProfiles(profiles) +} + func (ex *otlpExtension) Start(_ context.Context, _ component.Host) error { return nil } diff --git a/extension/encoding/otlpencodingextension/extension_test.go b/extension/encoding/otlpencodingextension/extension_test.go index 0b357d440f88..77e42e748108 100644 --- a/extension/encoding/otlpencodingextension/extension_test.go +++ b/extension/encoding/otlpencodingextension/extension_test.go @@ -14,6 +14,7 @@ import ( "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/plog" "go.opentelemetry.io/collector/pdata/pmetric" + "go.opentelemetry.io/collector/pdata/pprofile" "go.opentelemetry.io/collector/pdata/ptrace" ) @@ -73,12 +74,17 @@ func testOTLPMarshal(ex *otlpExtension, t *testing.T) { metrics := generateMetrics() _, err = ex.MarshalMetrics(metrics) require.NoError(t, err) + + profiles := generateProfiles() + _, err = ex.MarshalProfiles(profiles) + require.NoError(t, err) } func testOTLPUnmarshal(ex *otlpExtension, t *testing.T) { traces := generateTraces() logs := generateLogs() metrics := generateMetrics() + profiles := generateProfiles() traceBuf, err := ex.MarshalTraces(traces) require.NoError(t, err) @@ -86,6 +92,8 @@ func testOTLPUnmarshal(ex *otlpExtension, t *testing.T) { require.NoError(t, err) metricBuf, err := ex.MarshalMetrics(metrics) require.NoError(t, err) + profileBuf, err := ex.MarshalProfiles(profiles) + require.NoError(t, err) traces0, err := ex.UnmarshalTraces(traceBuf) require.NoError(t, err) @@ -93,10 +101,13 @@ func testOTLPUnmarshal(ex *otlpExtension, t *testing.T) { require.NoError(t, err) metrics0, err := ex.UnmarshalMetrics(metricBuf) require.NoError(t, err) + profiles0, err := ex.UnmarshalProfiles(profileBuf) + require.NoError(t, err) require.Equal(t, traces0.ResourceSpans().Len(), traces.ResourceSpans().Len()) require.Equal(t, logs0.ResourceLogs().Len(), logs.ResourceLogs().Len()) require.Equal(t, metrics0.ResourceMetrics().Len(), metrics.ResourceMetrics().Len()) + require.Equal(t, profiles0.ResourceProfiles().Len(), profiles.ResourceProfiles().Len()) } func TestOTLPJSONMarshal(t *testing.T) { @@ -181,3 +192,18 @@ func generateMetrics() pmetric.Metrics { } return md } + +func generateProfiles() pprofile.Profiles { + var num = 10 + now := time.Now() + pd := pprofile.NewProfiles() + ilm := pd.ResourceProfiles().AppendEmpty().ScopeProfiles().AppendEmpty() + ilm.Profiles().EnsureCapacity(num) + for i := 0; i < num; i++ { + im := ilm.Profiles().AppendEmpty() + im.SetProfileID(pprofile.ProfileID([16]byte{0x01, 0x02, 0x03, 0x04})) + im.SetStartTime(pcommon.NewTimestampFromTime(now)) + im.SetEndTime(pcommon.NewTimestampFromTime(now)) + } + return pd +} diff --git a/extension/encoding/otlpencodingextension/go.mod b/extension/encoding/otlpencodingextension/go.mod index 8feb814c3c10..fcb4e9d455f1 100644 --- a/extension/encoding/otlpencodingextension/go.mod +++ b/extension/encoding/otlpencodingextension/go.mod @@ -9,6 +9,7 @@ require ( go.opentelemetry.io/collector/confmap v1.19.0 go.opentelemetry.io/collector/extension v0.113.0 go.opentelemetry.io/collector/pdata v1.19.0 + go.opentelemetry.io/collector/pdata/pprofile v0.113.0 go.uber.org/goleak v1.3.0 ) diff --git a/extension/encoding/otlpencodingextension/go.sum b/extension/encoding/otlpencodingextension/go.sum index 125be8ac6262..6959c0e05485 100644 --- a/extension/encoding/otlpencodingextension/go.sum +++ b/extension/encoding/otlpencodingextension/go.sum @@ -60,6 +60,8 @@ go.opentelemetry.io/collector/extension v0.113.0 h1:Vp/YSL8ZCkJQrP1lf2Bm5yaTvcp6 go.opentelemetry.io/collector/extension v0.113.0/go.mod h1:Pwp0TNqdHeER4V1I6H6oCvrto/riiOAqs3737BWCnjw= go.opentelemetry.io/collector/pdata v1.19.0 h1:jmnU5R8TOCbwRr4B8sjdRxM7L5WnEKlQWX1dtLYxIbE= go.opentelemetry.io/collector/pdata v1.19.0/go.mod h1:Ox1YVLe87cZDB/TL30i4SUz1cA5s6AM6SpFMfY61ICs= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0 h1:VRf4p0VhfuaR+Epy/nMIlu/9t39WU9CUgHVUvpuGxfU= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0/go.mod h1:5aDejksdXh5PdJN/OhpzATGT3kbNL0RMmw2Q0Q6E/o0= go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= diff --git a/extension/encoding/textencodingextension/go.mod b/extension/encoding/textencodingextension/go.mod index be171b8e4fb4..cd54f0de1804 100644 --- a/extension/encoding/textencodingextension/go.mod +++ b/extension/encoding/textencodingextension/go.mod @@ -30,6 +30,7 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect go.opentelemetry.io/collector/config/configtelemetry v0.113.0 // indirect + go.opentelemetry.io/collector/pdata/pprofile v0.113.0 // indirect go.opentelemetry.io/otel v1.32.0 // indirect go.opentelemetry.io/otel/metric v1.32.0 // indirect go.opentelemetry.io/otel/sdk v1.31.0 // indirect diff --git a/extension/encoding/textencodingextension/go.sum b/extension/encoding/textencodingextension/go.sum index 08d89b6ae34a..eb52311c961c 100644 --- a/extension/encoding/textencodingextension/go.sum +++ b/extension/encoding/textencodingextension/go.sum @@ -60,6 +60,8 @@ go.opentelemetry.io/collector/extension v0.113.0 h1:Vp/YSL8ZCkJQrP1lf2Bm5yaTvcp6 go.opentelemetry.io/collector/extension v0.113.0/go.mod h1:Pwp0TNqdHeER4V1I6H6oCvrto/riiOAqs3737BWCnjw= go.opentelemetry.io/collector/pdata v1.19.0 h1:jmnU5R8TOCbwRr4B8sjdRxM7L5WnEKlQWX1dtLYxIbE= go.opentelemetry.io/collector/pdata v1.19.0/go.mod h1:Ox1YVLe87cZDB/TL30i4SUz1cA5s6AM6SpFMfY61ICs= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0 h1:VRf4p0VhfuaR+Epy/nMIlu/9t39WU9CUgHVUvpuGxfU= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0/go.mod h1:5aDejksdXh5PdJN/OhpzATGT3kbNL0RMmw2Q0Q6E/o0= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= go.opentelemetry.io/otel v1.32.0/go.mod h1:00DCVSB0RQcnzlwyTfqtxSm+DRr9hpYrHjNGiBHVQIg= go.opentelemetry.io/otel/metric v1.32.0 h1:xV2umtmNcThh2/a/aCP+h64Xx5wsj8qqnkYZktzNa0M= diff --git a/extension/encoding/zipkinencodingextension/go.mod b/extension/encoding/zipkinencodingextension/go.mod index ba2971ab8c18..8ccf4c5c9859 100644 --- a/extension/encoding/zipkinencodingextension/go.mod +++ b/extension/encoding/zipkinencodingextension/go.mod @@ -34,6 +34,7 @@ require ( github.com/openzipkin/zipkin-go v0.4.3 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect go.opentelemetry.io/collector/config/configtelemetry v0.113.0 // indirect + go.opentelemetry.io/collector/pdata/pprofile v0.113.0 // indirect go.opentelemetry.io/collector/semconv v0.113.0 // indirect go.opentelemetry.io/otel v1.32.0 // indirect go.opentelemetry.io/otel/metric v1.32.0 // indirect diff --git a/extension/encoding/zipkinencodingextension/go.sum b/extension/encoding/zipkinencodingextension/go.sum index d1bfb38dc1d0..8d52697bb91a 100644 --- a/extension/encoding/zipkinencodingextension/go.sum +++ b/extension/encoding/zipkinencodingextension/go.sum @@ -66,6 +66,8 @@ go.opentelemetry.io/collector/extension v0.113.0 h1:Vp/YSL8ZCkJQrP1lf2Bm5yaTvcp6 go.opentelemetry.io/collector/extension v0.113.0/go.mod h1:Pwp0TNqdHeER4V1I6H6oCvrto/riiOAqs3737BWCnjw= go.opentelemetry.io/collector/pdata v1.19.0 h1:jmnU5R8TOCbwRr4B8sjdRxM7L5WnEKlQWX1dtLYxIbE= go.opentelemetry.io/collector/pdata v1.19.0/go.mod h1:Ox1YVLe87cZDB/TL30i4SUz1cA5s6AM6SpFMfY61ICs= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0 h1:VRf4p0VhfuaR+Epy/nMIlu/9t39WU9CUgHVUvpuGxfU= +go.opentelemetry.io/collector/pdata/pprofile v0.113.0/go.mod h1:5aDejksdXh5PdJN/OhpzATGT3kbNL0RMmw2Q0Q6E/o0= go.opentelemetry.io/collector/semconv v0.113.0 h1:twenSI7M7MJMJKW8D6a/GXxPZTPbama/weywBtV2iFw= go.opentelemetry.io/collector/semconv v0.113.0/go.mod h1:zCJ5njhWpejR+A40kiEoeFm1xq1uzyZwMnRNX6/D82A= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U=