-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update opentelemetry-go monorepo to v0.10.0 #672
base: main
Are you sure you want to change the base?
Conversation
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
d3050b4
to
4728250
Compare
This PR contains the following updates:
v0.0.0-20240518090000-14441aefdf88
->v0.10.0
v0.3.0
->v0.10.0
v0.3.0
->v0.10.0
v0.3.0
->v0.10.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc)
v0.10.0
Compare Source
This release migrates the default OpenTelemetry SDK into its own Go module, decoupling the SDK from the API and reducing dependencies for instrumentation packages.
Added
NewExportPipeline
andInstallNewPipeline
constructor functions to match the common pattern.These function build a new exporter with default SDK options and register the exporter with the
global
package respectively. (#944)testtrace
package now tracks thetrace.SpanKind
for each span. (#987)Changed
RegisterGlobal
Option
in the Jaeger exporter with anInstallNewPipeline
constructor function.This matches the other exporter constructor patterns and will register a new exporter after building it with default configuration. (#944)
go.opentelemetry.io/otel/exporters/trace/stdout
) and metric (go.opentelemetry.io/otel/exporters/metric/stdout
)stdout
exporters are now merged into a single exporter atgo.opentelemetry.io/otel/exporters/stdout
.This new exporter was made into its own Go module to follow the pattern of all exporters and decouple it from the
go.opentelemetry.io/otel
module. (#956, #963)go.opentelemetry.io/otel/exporters/test
test package togo.opentelemetry.io/otel/sdk/export/metric/metrictest
. (#962)go.opentelemetry.io/otel/api/kv/value
package was merged into the parentgo.opentelemetry.io/otel/api/kv
package. (#968)value.Bool
was replaced withkv.BoolValue
.value.Int64
was replaced withkv.Int64Value
.value.Uint64
was replaced withkv.Uint64Value
.value.Float64
was replaced withkv.Float64Value
.value.Int32
was replaced withkv.Int32Value
.value.Uint32
was replaced withkv.Uint32Value
.value.Float32
was replaced withkv.Float32Value
.value.String
was replaced withkv.StringValue
.value.Int
was replaced withkv.IntValue
.value.Uint
was replaced withkv.UintValue
.value.Array
was replaced withkv.ArrayValue
.Infer
toAny
in thego.opentelemetry.io/otel/api/kv
package. (#972)go.opentelemetry.io/otel/sdk/metric/aggregator/test
package togo.opentelemetry.io/otel/sdk/metric/aggregator/aggregatortest
. (#980)go.opentelemetry.io/otel/sdk
. (#985)Sampler
fromAlwaysOn
toParentOrElse(AlwaysOn)
. (#989)Removed
IndexedAttribute
function from thego.opentelemetry.io/otel/api/label
package was removed in favor ofIndexedLabel
which it was synonymous with. (#970)Fixed
global.Handle
for span export errors in the OTLP exporter. (#946)go.opentelemetry.io/otel/api
package. (#977)go.opentelemetry.io/otel/instrumentation
package. (#983)go.opentelemetry.io/otel/instrumentation/grpctrace
interceptors into Go example tests. (#984)Raw changes made between v0.9.0 and v0.10.0
fd61d2e
(HEAD -> master, tag: v0.10.0, tag: sdk/v0.10.0, tag: exporters/trace/zipkin/v0.10.0, tag: exporters/trace/jaeger/v0.10.0, tag: exporters/stdout/v0.10.0, tag: exporters/otlp/v0.10.0, tag: exporters/metric/prometheus/v0.10.0, tag: example/zipkin/v0.10.0, tag: example/prometheus/v0.10.0, tag: example/otel-collector/v0.10.0, tag: example/namedtracer/v0.10.0, tag: example/jaeger/v0.10.0, tag: example/http/v0.10.0, tag: example/grpc/v0.10.0, tag: example/basic/v0.10.0, upstream/master, origin/master, origin/HEAD) Release v0.10.0 (#990)1299210
Change default Sampler to ParentOrElse(AlwaysOn) (#989)fa883d4
testtrace.Span tracks and returns its SpanKind. (#987)26e85e1
Add propagator option for gRPC instrumentation (#986)8fbaa9d
Make the SDK into its own Go module (#985)d6bf2fb
Decouple instrumentation from SDK (#983)42c2a86
Move grpctrace examples from comment to code (#984)e06c9da
Rename aggregator/test to aggregatortest (#980)67a2c23
Update Changelog (#982)2833212
Decouple API from SDK (#977)7f1dc4a
Update Contributing style guide section (#971)6917167
Rename kv.Infer to kv.Any (#969) (#972)c9c8137
Remove IndexedAttribute from api/label (#970)3b01a85
Make the stdout exporter a package (#963)c6611f4
Move export test package to SDK (#962)d99ac09
Remove sub-package value from kv (#968)fd54b6c
paivagustavo to emeritus for now (#960)7918070
README: fixup spaces on code example (#961)452256c
Unify trace and metric stdout exporters (#956)f31d8ec
Unify trace and metric exporter helpers (#944)c5d77d2
Bump github.com/google/go-cmp from 0.5.0 to 0.5.1 (#957)c8b657e
use global handler for span export err in otlp (#946)f6b51df
Bump github.com/golangci/golangci-lint from 1.28.3 to 1.29.0 in /tools (#953)v0.9.0
Compare Source
This release includes a new
Resource
auto-detector interface and a generation of the OTLP locally.Added
internal/opentelemetry-proto-gen
. (#938)open-telemetry/opentelemetry-proto
imported as a git submodule underinternal/opentelemetry-proto
. References togithub.com/open-telemetry/opentelemetry-proto
changed togo.opentelemetry.io/otel/internal/opentelemetry-proto-gen
. (#942)Changed
struct
s for key-value pairs will be marshalled using JSON rather thanSprintf
. (#948)Removed
github.com/open-telemetry/opentelemetry-collector
. (#943)Raw changes made between v0.8.0 and v0.9.0
58e50e2
(HEAD -> master, tag: v0.9.0, tag: exporters/trace/zipkin/v0.9.0, tag: exporters/trace/jaeger/v0.9.0, tag: exporters/otlp/v0.9.0, tag: exporters/metric/prometheus/v0.9.0, tag: example/zipkin/v0.9.0, tag: example/prometheus/v0.9.0, tag: example/otel-collector/v0.9.0, tag: example/namedtracer/v0.9.0, tag: example/jaeger/v0.9.0, tag: example/http/v0.9.0, tag: example/grpc/v0.9.0, tag: example/basic/v0.9.0, upstream/master, origin/master, origin/HEAD) Release v0.9.0 (#952)e6537c6
Fix typo in comment (#951)99c2998
OT resource detector (#939)b2b23e1
supports marshaling values as json (#948)d6ad4d4
[jaeger] Stop ignoring uints (#945)4f3fab3
Remove github.com/open-telemetry/opentelemetry-collector dependency (#943)166c703
Import open-telemetry/opentelemetry-proto submodule and generate protobuf bindings locally (#942)dd79483
Create protobuf generation GitHub action (#938)31dd06a
Bump github.com/golangci/golangci-lint from 1.28.2 to 1.28.3 in /tools (#936)9edcad3
Backport tag script from contrib repo (#934)v0.8.0
Compare Source
This release includes additions and changes to implements the v0.6.0 OpenTelemetry specification and other fixes.
Added
B3Encoding
type to represent the B3 encoding(s) the B3 propagator can inject.A value for HTTP supported encodings (Multiple Header:
MultipleHeader
, Single Header:SingleHeader
) are included. (#882)FlagsDeferred
trace flag to indicate if the trace sampling decision has been deferred. (#882)FlagsDebug
trace flag to indicate if the trace is a debug trace. (#882)peer.service
semantic attribute. (#898)faas.coldstart
andcontainer.id
. (#909)http.request_content_length
in HTTP request basic attributes. (#905)WithBatchMaxCount
option to specify the maximum number of spans sent in a batch. (#931)Changed
CONTRIBUTING.md
to ask for updates toCHANGELOG.md
with each pull request. (#879)SingleHeader
field has been replaced withInjectEncoding
.This new field can be set to combinations of the
B3Encoding
bitmasks and will inject trace information in these encodings.If no encoding is set, the propagator will default to
MultipleHeader
encoding. (#882)Preference is given to Single Header encoding with Multiple Header being the fallback if Single Header is not found or is invalid.
This behavior change is made to dynamically support all correctly encoded traces received instead of having to guess the expected encoding prior to receiving. (#882)
api/standard
package, theFaaS*
key names are appended with a suffix ofKey
. (#920)"api/standard".FaaSName
->FaaSNameKey
"api/standard".FaaSID
->FaaSIDKey
"api/standard".FaaSVersion
->FaaSVersionKey
"api/standard".FaaSInstance
->FaaSInstanceKey
Removed
FlagsUnused
trace flag is removed.The purpose of this flag was to act as the inverse of
FlagsSampled
, the inverse ofFlagsSampled
is used instead. (#882)B3SingleHeader
,B3DebugFlagHeader
,B3TraceIDHeader
,B3SpanIDHeader
,B3SampledHeader
,B3ParentSpanIDHeader
) are removed.If B3 header keys are needed the authoritative OpenZipkin package constants should be used instead. (#882)
Fixed
b3
instead of the previousX-B3
. (#881)b3: 0
,b3: 1
, orb3: d
) for a Single B3 Header. (#882)This removes the behavior of changing the debug flag into a set sampling bit.
Instead, this now follow the B3 specification and omits the
X-B3-Sampling
header. (#882)X-B3-Sampling
header when injecting. (#882)UnixNano
. (#896)Unknown
when no HTTP status code is provided as it is assumed to be200 OK
. (#908)httptrace.clientTracer
closeshttp.headers
span. (#912)HTTPClientAttributesFromHTTPRequest
. (#905)grpctrace
instrumentation uses a span name conforming to the OpenTelemetry semantic conventions (does not contain a leading slash (/
)). (#922)grpctrace
instrumentation includes anrpc.method
attribute now set to the gRPC method name. (#900, #922)grpctrace
instrumentationrpc.service
attribute now contains the package name if one exists.This is in accordance with OpenTelemetry semantic conventions. (#922)
Commits since previous tag v0.7.0
aff7a80
(HEAD -> master, tag: v0.8.0, tag: exporters/trace/zipkin/v0.8.0, tag: exporters/trace/jaeger/v0.8.0, tag: exporters/otlp/v0.8.0, tag: exporters/metric/prometheus/v0.8.0, tag: example/zipkin/v0.8.0, tag: example/prometheus/v0.8.0, tag: example/otel-collector/v0.8.0, tag: example/namedtracer/v0.8.0, tag: example/jaeger/v0.8.0, tag: example/http/v0.8.0, tag: example/grpc/v0.8.0, tag: example/basic/v0.8.0, upstream/master, origin/master, origin/HEAD) Release v0.8.0 (#929)9e99b44
Bump github.com/golangci/golangci-lint from 1.28.1 to 1.28.2 in /tools (#930)4dec0ad
[jaeger] Added WithBatchMaxCount as an option (#931)d979977
Add semantic conventions for OS process as resource attributes (#919)54fffd6
Update grpctrace instrumentation span names (#922)d2913b7
Bump google.golang.org/api from 0.28.0 to 0.29.0 in /exporters/trace/jaeger (#925)c719588
Avoid replacing existing correlation map data in context when correlation context extractor does not find any valid data (#923)fab431e
Fixapi/standard
constant names and documentation (#920)cf6462c
Bump github.com/itchyny/gojq from 0.10.4 to 0.11.0 in /tools (#926)03cd779
Add http content size semantic conventions (#905)1c9aab6
Extend semantic convetions for RPC (#900)918c654
Update Changelog with omitted changes (#921)c506e99
Fix B3 propagator and add tests (#882)3475d55
Fix incorrect aggregation; Prometheus exporter behavior (#903)808345c
Bump CircleCI instance size (#917)c219029
Update otel-collector example to use collector v0.5.0 (#915)1c6ca87
Ensure clientTracer closes http.headers span (#912)463c458
Add more database-specific semantic attributes (#899)5a4b68c
Add semantic convention forfaas.coldstart
andcontainer.id
(#909)eaa94e9
Avoid setting span status to Unknown when no HTTP status is provided; stdlib assumes it to be200 OK
(#908)9342eb2
Bump github.com/golangci/golangci-lint from 1.28.0 to 1.28.1 in /tools (#913)27e892a
Remove -v from Go tests (#904)bd1e174
Add "peer.service" semantic to standard attributes (#898)8d1f448
Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.0 in /tools (#901)550d365
fix trace event time conversion from internal to otlp (#896)f1e3536
Update opentracing dependency (#885)f4b1568
Bump github.com/itchyny/gojq from 0.10.3 to 0.10.4 in /tools (#883)8205b0b
Update B3 header names (#881)2635f96
Ask for changelog updates with PRs (#879)v0.7.0
Compare Source
This release implements the v0.5.0 version of the OpenTelemetry specification.
Added
Accumulation
type to metric SDK to transport telemetry fromAccumulator
s toProcessor
s.This replaces the prior
Record
struct
use for this purpose. (#835)Meter
andTracer
implementations accept instrumentation version version as an optional argument.This instrumentation version is passed on to exporters. (#811) (#805) (#802)
aggregation.Kind
in the export metric API. (#808)SetName
during span initialization. (#791)go.opentelemetry.io/otel/api/oterror
package to uniformly support error handling and definitions for the project. (#778)global
default implementation of thego.opentelemetry.io/otel/api/oterror.Handler
interface to be used to handle errors prior to an user definedHandler
.There is also functionality for the user to register their
Handler
as well as a convenience functionHandle
to handle an error with this globalHandler
(#778)application/json
header for the Zipkin exporter is included in all exports. (#774)api/standard
package. #769Changed
Integrator
toProcessor
in the metric SDK. (#863)AggregationSelector
toAggregatorSelector
. (#859)SynchronizedCopy
toSynchronizedMove
. (#858)simple
integrator tobasic
integrator. (#857)With these changes, cumulative and delta specific exporters are able to request the correct kind of aggregation from the SDK. (#840)
Aggregator.Checkpoint
API is renamed toSynchronizedCopy
and adds an argument, a differentAggregator
into which the copy is stored. (#812)export.Aggregator
contract is thatUpdate()
andSynchronizedCopy()
are synchronized with each other.All the aggregation interfaces (
Sum
,LastValue
, ...) are not meant to be synchronized, as the caller is expected to synchronize aggregators at a higher level after theAccumulator
.Some of the
Aggregators
used unnecessary locking and that has been cleaned up. (#812)metric.Number
was replaced byint64
now that we usesync.Mutex
in theMinMaxSumCount
andHistogram
Aggregators
. (#812)AlwaysParentSample
withParentSample(fallback)
to match the OpenTelemetry v0.5.0 specification. (#810)sdk/export/metric/aggregator
tosdk/export/metric/aggregation
. #808global.Handle
function. (#791)plugin
directory toinstrumentation
to match the OpenTelemetry specification. (#779)New()
consistent. (#781)Removed
Uint64NumberKind
and related functions from the API. (#864)Aggregator.Checkpoint
andIntegrator.Process
as they were unused. (#803)SpanID
is no longer included in parameters for sampling decision to match the OpenTelemetry specification. (#775)Fixed
go.sum
andgo.mod
when running dependabot tidy-up. (#871)Aggregator
testing has been updated and cleaned. (#812)metric.Number(0)
expressions are replaced by0
where possible. (#812)global
handler_test.go
test failure. #804BatchSpanProcessor.Shutdown
to wait until all spans are processed. (#766)api/standard
keys instead of custom keys. (#782)v0.6.0
Compare Source
Added
Resource
s in the prometheus exporter. (#757)UpDownSumObserver
instrument. (#750)SumObserver
instrument. (#747)UpDownCounter
instrument. (#745)Option
and configuration functionWithTimeout
to the push controller. (#742)api/standards
package to implement semantic conventions and standard key-value generation. (#731)Changed
Register*
functions in the metric API toNew*
for allObserver
instruments. (#761)[]float64
for histogram boundaries, not[]metric.Number
. (#758)Syncer
instead of as an unneededBatcher
. (#756)WithResourceAttributes()
withWithResource()
in the trace SDK. (#754)ScheduleDelayMillis
toBatchTimeout
in the traceBatchSpanProcessor
.(#752)Resource
from theExport
method parameter into the metric exportRecord
. (#739)Observer
instrument toValueObserver
. (#734)Provider()
) to return ametric.Provider
instead of the oldMeter
method that acted as ametric.Provider
. (#738)Measure
instrument byValueRecorder
instrument. (#732)"Correlation-Context"
to"otcorrelations"
to match the OpenTelemetry specification. 727)Fixed
ClientStream
override methods do not panic in grpctrace package. (#755)BatchSpanProcessor
test until a fix is found. (#743)string
case inkv
Infer
function. (#746)api/metrics
push controller and addCheckpointSet
synchronization. (#737)golang-1.14
for examples. (#733)UnaryInterceptorClient
. (#695)api/metric
code layout. (#724)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.