-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pre-release 1.0.0-RC1 #2013
Pre-release 1.0.0-RC1 #2013
Conversation
Signed-off-by: Anthony J Mirabella <[email protected]>
Signed-off-by: Anthony J Mirabella <[email protected]>
Signed-off-by: Anthony J Mirabella <[email protected]>
Signed-off-by: Anthony J Mirabella <[email protected]>
Signed-off-by: Anthony J Mirabella <[email protected]>
Signed-off-by: Anthony J Mirabella <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2013 +/- ##
=====================================
Coverage 73.0% 73.0%
=====================================
Files 171 171
Lines 8687 8687
=====================================
Hits 6348 6348
Misses 2070 2070
Partials 269 269
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🏅. As mentioned in the SIG meeting this needs updates to the website docs. My approval should persist with those changes added.
Signed-off-by: Anthony J Mirabella <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
|
||
## [1.0.0-RC1] / 0.21.0 - 2021-06-18 | ||
|
||
With this release we are introducing a split in module versions. The tracing API and SDK are entering the `v1.0.0` Release Candidate phase with `v1.0.0-RC1` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about changing the tag name to v1.0.0-rc.1
This is the convention that SemVer uses itself.
Example: https://semver.org/spec/v2.0.0-rc.1.html
Or at least v1.0.0-rc1
- I have never seen the capitals RC
in tags before 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was discussed in the SIG meeting and it is valid semver accepted by the Go module tooling. There's not a strong reason to change it. Plus, RC is an initialism and Go conventions dictate it be in all caps :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK😉
I also saw such patterns under: https://blog.golang.org/publishing-go-modules
And https://golang.org/ref/mod also has lowercase.
But it is not anything critical. Just a matter of taste 😄
1.0.0-RC1 / 0.21.0
With this release we are introducing a split in module versions. The tracing API and SDK are entering the
v1.0.0
Release Candidate phase withv1.0.0-RC1
while the experimental metrics API and SDK continue withv0.x
releases atv0.21.0
. Modules at major version 1 or greater will not depend on modules with major version 0.Added
otlpgrpc.WithRetry
option for configuring the retry policy for transient errors on the otlp/gRPC exporter. (Implement retry policy for the OTLP/gRPC exporter #1832)Status
type to thego.opentelemetry.io/otel/sdk/trace
package to represent the status of a span. (Add Status type to SDK #1874)SpanStub
type and its associated functions to thego.opentelemetry.io/otel/sdk/trace/tracetest
package.This type can be used as a testing replacement for the
SpanSnapshot
that was removed from thego.opentelemetry.io/otel/sdk/trace
package. (Redefine ExportSpans of SpanExporter with ReadOnlySpan #1873)OTEL_EXPORTER_OTLP_ENDPOINT
according to the spec. (Add support for scheme in OTEL_EXPORTER_OTLP_ENDPOINT #1886)trace.WithSchemaURL
option for configuring the tracer with a Schema URL. (Add schema URL support to Tracer #1889)ParseTraceState
is added to thego.opentelemetry.io/otel/trace
package.It can be used to decode a
TraceState
from atracestate
header string value. (#1937)Len
method to theTraceState
type in thego.opentelemetry.io/otel/trace
package.This method returns the number of list-members the
TraceState
holds. (#1937)go.opentelemetry.io/otel/exporters/otlp/otlptrace
that defines a trace exporter that uses aotlptrace.Client
to send data.Creates package
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
implementing a gRPCotlptrace.Client
and offers convenience functions,NewExportPipeline
andInstallNewPipeline
, to setup and install aotlptrace.Exporter
in tracing .(OTLP trace gRPC exporter #1922)Baggage
,Member
, andProperty
types to thego.opentelemetry.io/otel/baggage
package along with their related functions. (Add baggage implementation based on the W3C and OpenTelemetry specification #1967)ContextWithBaggage
,ContextWithoutBaggage
, andFromContext
functions to thego.opentelemetry.io/otel/baggage
package.These functions replace the
Set
,Value
,ContextWithValue
,ContextWithoutValue
, andContextWithEmpty
functions from that package and directly work with the newBaggage
type. (Add baggage implementation based on the W3C and OpenTelemetry specification #1967)OTEL_SERVICE_NAME
environment variable is the preferred source forservice.name
, used by the environment resource detector if a service name is present both there and inOTEL_RESOURCE_ATTRIBUTES
. (sdk/resource: honor OTEL_SERVICE_NAME in fromEnv resource detector #1969)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
implementing an HTTPotlptrace.Client
and offers convenience functions,NewExportPipeline
andInstallNewPipeline
, to setup and install aotlptrace.Exporter
in tracing. (add otlp trace http exporter #1963)go.opentelemetry.io/otel/sdk/resource.NewWithAttributes
to require a schema URL. The old function is still available asresource.NewSchemaless
. This is a breaking change. (Add Schema URL support to Resource #1938)go.opentelemetry.io/otel/exporters/otlp/otlpmetric
that defines a metrics exporter that uses aotlpmetric.Client
to send data.go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
implementing a gRPCotlpmetric.Client
and offers convenience functions,New
andNewUnstarted
, to create anotlpmetric.Exporter
.(OTLP metrics gRPC exporter #1991)go.opentelemetry.io/otel/exporters/stdout/stdouttrace
exporter. (Split stdout exporter into stdouttrace and stdoutmetric #2005)go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
exporter. (Split stdout exporter into stdouttrace and stdoutmetric #2005)TracerProvider()
method to the"go.opentelemetry.io/otel/trace".Span
interface. This can be used to obtain aTracerProvider
from a given span that utilizes the same trace processing pipeline. (Add span.TracerProvider() #2009)Changed
NewSplitDriver
fromgo.opentelemetry.io/otel/exporters/otlp
take variadic arguments instead of aSplitConfig
item.NewSplitDriver
now automatically implements an internalnoopDriver
forSplitConfig
fields that are not initialized. (Change NewSplitDriver paramater and initialization #1798)resource.New()
now creates a Resource without builtin detectors. Previous behavior is now achieved by usingWithBuiltinDetectors
Option. (Removed different types of Detectors for Resources. #1810)Event
type from thego.opentelemetry.io/otel
package to thego.opentelemetry.io/otel/sdk/trace
package. (Move the Event type from the API to the SDK #1846)ForceFlush()
method. (drop failed to exporter batches and return error when forcing flush a span processor #1860)Set.Encoded(Encoder)
no longer caches the result of an encoding. (remove Set.Encoded(Encoder) enconding cache #1855)CloudZoneKey
toCloudAvailabilityZoneKey
in Resource semantic conventions according to spec. (Update resource.go #1871)StatusCode
andStatusMessage
methods of theReadOnlySpan
interface and theSpan
produced by thego.opentelemetry.io/otel/sdk/trace
package have been replaced with a singleStatus
method.This method returns the status of a span using the new
Status
type. (Add Status type to SDK #1874)ExportSpans
method of theSpanExporter
interface type to acceptReadOnlySpan
s instead of the removedSpanSnapshot
.This brings the export interface into compliance with the specification in that it now accepts an explicitly immutable type instead of just an implied one. (Redefine ExportSpans of SpanExporter with ReadOnlySpan #1873)
SpanContext
inLink
. (Unembed SpanContext #1877)Tracer
obtained fromgo.opentelemetry.io/otel
, prior to a functioningTracerProvider
being set, now propagate the span context from their parent if one exists. (Implement global default non-recording span #1901)"go.opentelemetry.io/otel".Tracer
function now accepts tracer options. (Add tracer option argument to global Tracer function #1902)go.opentelemetry.io/otel/unit
package togo.opentelemetry.io/otel/metric/unit
. (Move the unit package to the metric module #1903)go.opentelemetry.io/otel/trace.TracerConfig
to conform to the Contributing guidelines (Update API configs. #1921)go.opentelemetry.io/otel/trace.SpanConfig
to conform to the Contributing guidelines. (Update API configs. #1921)span.End()
now only accepts Options that are allowed atEnd()
. (Update API configs. #1921)go.opentelemetry.io/otel/metric.InstrumentConfig
to conform to the Contributing guidelines. (Update API configs. #1921)go.opentelemetry.io/otel/metric.MeterConfig
to conform to the Contributing guidelines. (Update API configs. #1921)go.opentelemetry.io/otel/trace.TraceStateFromKeyValues
function to thego.opentelemetry.io/otel/oteltest
package.This function is preserved for testing purposes where it may be useful to create a
TraceState
fromattribute.KeyValue
s, but it is not intended for production use.The new
ParseTraceState
function should be used to create aTraceState
. (Refactor Tracestate #1931)MarshalJSON
method of thego.opentelemetry.io/otel/trace.TraceState
type to marshal the type into the string representation of theTraceState
. (Refactor Tracestate #1931)TraceState.Delete
method from thego.opentelemetry.io/otel/trace
package no longer returns an error in addition to aTraceState
. (Refactor Tracestate #1931)Get
method of theTraceState
type from thego.opentelemetry.io/otel/trace
package to accept astring
instead of anattribute.Key
type. (Refactor Tracestate #1931)Insert
method of theTraceState
type from thego.opentelemetry.io/otel/trace
package to accept a pair ofstring
s instead of anattribute.KeyValue
type. (Refactor Tracestate #1931)Delete
method of theTraceState
type from thego.opentelemetry.io/otel/trace
package to accept astring
instead of anattribute.Key
type. (Refactor Tracestate #1931)NewExporter
toNew
in thego.opentelemetry.io/otel/exporters/stdout
package. (Refactor exporter creation functions #1985)NewExporter
toNew
in thego.opentelemetry.io/otel/exporters/metric/prometheus
package. (Refactor exporter creation functions #1985)NewExporter
toNew
in thego.opentelemetry.io/otel/exporters/trace/jaeger
package. (Refactor exporter creation functions #1985)NewExporter
toNew
in thego.opentelemetry.io/otel/exporters/trace/zipkin
package. (Refactor exporter creation functions #1985)NewExporter
toNew
in thego.opentelemetry.io/otel/exporters/otlp
package. (Refactor exporter creation functions #1985)NewUnstartedExporter
toNewUnstarted
in thego.opentelemetry.io/otel/exporters/otlp
package. (Refactor exporter creation functions #1985)go.opentelemetry.io/otel/semconv
package has been moved togo.opentelemetry.io/otel/semconv/v1.4.0
to allow for multiple telemetry schema versions to be used concurrently. (Update semantic conventions to v1.4.0, move to versioned package #1987)go.opentelemetry.io/otel/oteltest
have been moved togo.opentelemetry.io/otel/metric/metrictest
. (Remove dependency on metrics packages #1988)Deprecated
go.opentelemetry.io/otel/exporters/metric/prometheus
is deprecated, usego.opentelemetry.io/otel/exporters/prometheus
instead. (Deprecate the exporters in the "trace" and "metric" sub-directories #1993)go.opentelemetry.io/otel/exporters/trace/jaeger
is deprecated, usego.opentelemetry.io/otel/exporters/jaeger
instead. (Deprecate the exporters in the "trace" and "metric" sub-directories #1993)go.opentelemetry.io/otel/exporters/trace/zipkin
is deprecated, usego.opentelemetry.io/otel/exporters/zipkin
instead. (Deprecate the exporters in the "trace" and "metric" sub-directories #1993)Removed
resource.WithoutBuiltin()
. Useresource.New()
. (Removed different types of Detectors for Resources. #1810)resource.FromEnv
,resource.Host
, andresource.TelemetrySDK
, Use the correspondingWith*()
to use individually. (Removed different types of Detectors for Resources. #1810)Tracer
andIsRecording
method from theReadOnlySpan
in thego.opentelemetry.io/otel/sdk/trace
.The
Tracer
method is not a required to be included in this interface and given the mutable nature of the tracer that is associated with a span, this method is not appropriate.The
IsRecording
method returns if the span is recording or not.A read-only span value does not need to know if updates to it will be recorded or not.
By definition, it cannot be updated so there is no point in communicating if an update is recorded. (Redefine ExportSpans of SpanExporter with ReadOnlySpan #1873)
SpanSnapshot
type from thego.opentelemetry.io/otel/sdk/trace
package.The use of this type has been replaced with the use of the explicitly immutable
ReadOnlySpan
type.When a concrete representation of a read-only span is needed for testing, the newly added
SpanStub
in thego.opentelemetry.io/otel/sdk/trace/tracetest
package should be used. (Redefine ExportSpans of SpanExporter with ReadOnlySpan #1873)Tracer
method from theSpan
interface in thego.opentelemetry.io/otel/trace
package.Using the same tracer that created a span introduces the error where an instrumentation library's
Tracer
is used by other code instead of their own.The
"go.opentelemetry.io/otel".Tracer
function or aTracerProvider
should be used to acquire a library specificTracer
instead. (Remove the Tracer method from the Span API #1900)TracerProvider()
method on theSpan
interface may also be used to obtain aTracerProvider
using the same trace processing pipeline. (Add span.TracerProvider() #2009)http.url
attribute generated byHTTPClientAttributesFromHTTPRequest
will no longer include username or password information. (Do not include authentication information in the http.url attribute #1919)IsEmpty
method of theTraceState
type in thego.opentelemetry.io/otel/trace
package in favor of using the addedTraceState.Len
method. (Refactor Tracestate #1931)Set
,Value
,ContextWithValue
,ContextWithoutValue
, andContextWithEmpty
functions in thego.opentelemetry.io/otel/baggage
package.Handling of baggage is now done using the added
Baggage
type and related context functions (ContextWithBaggage
,ContextWithoutBaggage
, andFromContext
) in that package. (Add baggage implementation based on the W3C and OpenTelemetry specification #1967)InstallNewPipeline
andNewExportPipeline
creation functions in all the exporters (prometheus, otlp, stdout, jaeger, and zipkin) have been removed.These functions were deemed premature attempts to provide convenience that did not achieve this aim. (Refactor exporter creation functions #1985)
go.opentelemetry.io/otel/exporters/otlp
exporter has been removed. Usego.opentelemetry.io/otel/exporters/otlp/otlptrace
instead. (Remove old OTLP exporter #1990)go.opentelemetry.io/otel/exporters/stdout
exporter has been removed. Usego.opentelemetry.io/otel/exporters/stdout/stdouttrace
orgo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
instead. (Split stdout exporter into stdouttrace and stdoutmetric #2005)Fixed
"go.opentelemetry.io/otel/sdk/resource".Environment
function when they are notnil
. (Wrong error handling in resource.Environment() method #1850, Handle Resource env error when non-nil #1851)Shutdown
method of the simpleSpanProcessor
in thego.opentelemetry.io/otel/sdk/trace
package now honors the context deadline or cancellation. (SimpleSpanProcessor.Shutdown needs to be configurable with a timeout that it honors #1616, Honor context deadline or cancellation in SimpleSpanProcessor.Shutdown #1856)http://localhost:14268/api/traces
as default Jaeger collector endpoint instead ofhttp://localhost:14250
. (Fix default Jaeger collector endpoint #1898)tracestate
header. (Refactor Tracestate #1931)