Releases: signalfx/splunk-otel-go
v1.4.0
The release adds metrics support. Set OTEL_METRICS_EXPORTER=otlp
to enable metrics support. However, take notice that as for now the OpenTelemetry Go metrics API is not stable (v0.37.0
).
This upgrades OpenTelemetry Go to v1.14.0/v0.37.0/v0.0.4 and OpenTelemetry Go Contrib to v1.15.0/v0.40.0/v0.9.0.
Added
- Add metrics support and
OTEL_METRICS_EXPORTER
environment variable.OTEL_METRICS_EXPORTER
accepts:none
- metrics disabled,otlp
- OTLP gRPC exporter. CurrentlyOTEL_METRICS_EXPORTER
defaults tonone
as OpenTelemetry Go metrics API and SDK are not stable yet. SetOTEL_METRICS_EXPORTER=otlp
to enable metrics support. - Add process and Go runtime attributes to resource.
- Add runtime metrics instrumentation.
v1.3.1
v1.3.0
This upgrades OpenTelemetry Go to v1.12.0/v0.35.0 and OpenTelemetry Go Contrib to v1.13.0/v0.38.0/v0.7.0.
Fixed
- The goroutine created by the
Open
function ingithub.com/signalfx/splunk-otel-go/instrumentation/database/sql/splunksql
is no longer orphaned. (#1682)
Added
- The
NetSockFamily
type and related variables to be use in theConnectionConfig
fromgithub.com/signalfx/splunk-otel-go/instrumentation/database/sql/splunksql
. (#1749)
Changed
- Add the
NetSockFamily
field to theConnectionConfig
ingithub.com/signalfx/splunk-otel-go/instrumentation/database/sql/splunksql
. This is used to define the protocol address family used for communication with the database. (#1749) - Update
go.opentelemetry.io/otel/semconv
tov1.17.0
in the following packages. (#1749)github.com/signalfx/splunk-otel-go/distro
github.com/signalfx/splunk-otel-go/instrumentation/database/sql/splunksql
github.com/signalfx/splunk-otel-go/instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka
github.com/signalfx/splunk-otel-go/instrumentation/github.com/go-chi/chi/splunkchi
github.com/signalfx/splunk-otel-go/instrumentation/github.com/go-sql-driver/mysql/splunkmysql
github.com/signalfx/splunk-otel-go/instrumentation/github.com/gomodule/redigo/splunkredigo
github.com/signalfx/splunk-otel-go/instrumentation/github.com/jackc/pgx/splunkpgx
github.com/signalfx/splunk-otel-go/instrumentation/github.com/jackc/pgx/splunkpgx
github.com/signalfx/splunk-otel-go/instrumentation/github.com/syndtr/goleveldb/leveldb/splunkleveldb
github.com/signalfx/splunk-otel-go/instrumentation/github.com/tidwall/buntdb/splunkbuntdb
github.com/signalfx/splunk-otel-go/instrumentation/gopkg.in/olivere/elastic/splunkelastic
github.com/signalfx/splunk-otel-go/instrumentation/k8s.io/client-go/splunkclient-go
Deprecated
- The
NetTransportIP
andNetTransportUnix
variables fromgithub.com/signalfx/splunk-otel-go/instrumentation/database/sql/splunksql
are deprecated as they are no longer available ingo.opentelemetry.io/otel/semconv/v1.17.0
. Use an appropriateNetSockFamily*
variable instead. (#1749)
v1.2.0
This upgrades OpenTelemetry Go to v1.11.2/v0.34.0 and OpenTelemetry Go Contrib to v1.12.0/v0.37.0/v0.6.0.
Added
OTEL_LOG_LEVEL
environment variable accepts case insensitive values. (#1374)
Removed
v1.1.0
This release uses OpenTelemetry Go v1.8.0 and
OpenTelemetry Go Contrib v1.8.0/v0.33.0.
Changed
- Update
go.opentelemetry.io/otel*
dependencies fromv1.7.0
tov1.8.0
. (#1169) - Update
go.opentelemetry.io/contrib*
dependencies from
v1.7.0
/v0.32.0
tov1.8.0
/v0.33.0
.
(#1169)
Removed
v1.0.0
This is the first stable release of the Splunk Distribution of OpenTelemetry Go which is compliant with Splunk's GDI Specification v1.3.0.
Please note that although the distribution is marked as stable, some of its dependent components (e.g. otelhttp
instrumentation library)
are still experimental.
This release uses OpenTelemetry Go v1.7.0 and OpenTelemetry Go Contrib v1.7.0/v0.32.0.
v0.9.0
This release contains configuration fixes and simplifies the API before a stable release is published.
go.opentelemetry.io/otel*
dependencies are updated to v1.7.0
and go.opentelemetry.io/contrib*
dependencies are updated to v1.7.0
/v0.32.0
.
Changed
- The
NewTracer
function fromgithub.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql
now returns atracer.Tracer
instead of the deprecatedtrace.Tracer
fromgithub.com/graph-gophers/graphql-go
. (#855) - The
TraceQuery
method of theTracer
fromgithub.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql
now returns atracer.QueryFinishFunc
instead of the deprecatedtrace.TraceQueryFinishFunc
fromgithub.com/graph-gophers/graphql-go
. (#855) - The
TraceField
method of theTracer
fromgithub.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql
now returns atracer.FieldFinishFunc
instead of the deprecatedtrace.TraceFieldFinishFunc
fromgithub.com/graph-gophers/graphql-go
. (#855) - The
TraceValidation
method of theTracer
fromgithub.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql
now returns atracer.ValidationFinishFunc
instead of the deprecatedtrace.TraceValidationFinishFunc
fromgithub.com/graph-gophers/graphql-go
. (#855) - Configure TLS using the system CA for OTLP gRPC exporter connections when configured to connect to external endpoints. (#792)
- Remove
opts ...Option
parameter fromNewHandler
function fromgithub.com/signalfx/splunk-otel-go/instrumentation/net/http/splunkhttp
package. (#947) - Update
go.opentelemetry.io/otel*
dependencies fromv1.6.1
tov1.7.0
. (#926) - Update
go.opentelemetry.io/contrib*
dependencies fromv1.6.0
/v0.31.0
tov1.7.0
/v0.32.0
. (#926)
Removed
- Minimize
github.com/signalfx/splunk-otel-go/distro
package to contain only necessary option functions. (#941)- Remove
WithAccessToken
function, useSPLUNK_ACCESS_TOKEN
environment variable instead. - Remove
WithEndpoint
function, use one of theOTEL_EXPORTER_OTLP_ENDPOINT
,OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
,OTEL_EXPORTER_JAEGER_ENDPOINT
environment variables instead. - Remove
WithPropagator
function, useOTEL_PROPAGATORS
environment variable instead. - Remove
WithTraceExporter
function, useOTEL_TRACES_EXPORTER
environment variable instead.
- Remove
- Minimize
github.com/signalfx/splunk-otel-go/instrumentation/net/http/splunkhttp
package to contain only necessary functions and types. (#947)- Remove
WithTraceResponseHeader
function, useSPLUNK_TRACE_RESPONSE_HEADER_ENABLED
environment variable instead. - Remove
TraceResponseHeaderMiddleware
function, useNewHandler
function instead. - Remove
Option
type.
- Remove
Fixed
- Use the correct Splunk Observability Cloud OTLP over gRPC endpoint when
SPLUNK_REALM
is set. (#791)
v0.8.0
Added
- Add the
WithPropagator
option togithub.com/signalfx/splunk-otel-go/distro
along with parsing of theOTEL_PROPAGATORS
environment variable to set the global OpenTelemetryTextMapPropagator
. (#295) - Add the
WithTraceExporter
andWithTLSConfig
options togithub.com/signalfx/splunk-otel-go/distro
along with parsing of theOTEL_TRACES_EXPORTER
environment variable to set the global OpenTelemetrySpanExporter
used by theSDK
to export traces. (#300) - Add the
splunk.distro.version
attribute to the SDK resource. (#332) - Add the
WithLogger
option togithub.com/signalfx/splunk-otel-go/distro
along with parsing of theOTEL_LOG_LEVEL
environment variable to set the logging level of the default logger used. (#336) - The
github.com/signalfx/splunk-otel-go/distro
package fromgithub.com/signalfx/splunk-otel-go
has been made into its own module. (#492) - The
SPLUNK_REALM
environment variable is now supported. If set, the exporter will use the corresponding Splunk ingest endpoint. (#725)
Changed
- The
SDK
fromgithub.com/signalfx/splunk-otel-go/distro
now uses an OTLP exporter by default. The previous default Jaeger thrift exporter can still be used by setting theOTEL_TRACES_EXPORTER
environment variable tojaeger-thrift-splunk
, or by directly passing the user configured exporter with aWithTraceExporter
option. (#300) - Update
go.opentelemetry.io/otel*
dependencies from [v1.3.0
][otel-v1.3.0] to [v1.6.1
][otel-v1.6.1]. (#406, #471, #656, #721) - Update
go.opentelemetry.io/contrib*
dependencies from [v1.3.0
/v0.28.0
][contrib-v1.3.0] to [v1.6.0
/v0.31.0
][contrib-v1.6.0]. (#406, #721) - The
OTEL_TRACES_SAMPLER
environment variable is now honored instead of only defaulting to an always-on sampler. (#724) - Set span limits to the Splunk defaults (the link count is limited to 1000, the attribute value length is limited to 12000, and all other limits are set to be unlimited) if they are not set by the user with environment variables. (#723)
Fixed
- Consistently import
github.com/jackc/pgx/v4
, instead ofgithub.com/jackc/pgx
, in thegithub.com/signalfx/splunk-otel-go/instrumentation/github.com/jackc/pgx/splunkpgx
instrumentation. (#478)
v0.7.0
Added
- Add the
github.com/signalfx/splunk-otel-go/instrumentation/database/sql/splunksql
instrumentation for thedatabase/sql
package. (#88) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/go-sql-driver/mysql/splunkmysql
instrumentation for thegithub.com/go-sql-driver/mysql
package. (#90) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/jackc/pgx/splunkpgx
instrumentation for thegithub.com/jackc/pgx
package. (#91) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/lib/pq/splunkpq
instrumentation for thegithub.com/lib/pq
package. (#92) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/jmoiron/sqlx/splunksqlx
instrumentation for thegithub.com/jmoiron/sqlx
package. (#93) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/jinzhu/gorm/splunkgorm
instrumentation for thegithub.com/jinzhu/gorm
package. (#98) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka
instrumentation for thegithub.com/confluentinc/confluent-kafka-go/kafka
package. (#100) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/miekg/dns/splunkdns
instrumentation for thegithub.com/miekg/dns
package. (#155) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/syndtr/goleveldb/leveldb/splunkleveldb
instrumentation for thegithub.com/syndtr/goleveldb/leveldb
package. (#186) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/tidwall/buntdb/splunkbuntdb
instrumentation for thegithub.com/tidwall/buntdb
package. (#228) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/k8s.io/client-go/splunkclient-go
instrumentation for thek8s.io/client-go
package. (#224) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/go-chi/chi/splunkchi
instrumentation for thegithub.com/go-chi/chi
package. (#227) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/graphql-gophers/graphql-go/splunkgraphql
instrumentation for thegithub.com/graph-gophers/graphql-go
module. (#232) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/julienschmidt/httprouter/splunkhttprouter
instrumentation for thegithub.com/julienschmidt/httprouter
package. (#273) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/github.com/gomodule/redigo/splunkredigo
instrumentation for thegithub.com/gomodule/redigo
package. (#288) - Add the
github.com/signalfx/splunk-otel-go/instrumentation/gopkg.in/olivere/elastic/splunkelastic
instrumentation for thegopkg.in/olivere/elastic
package. (#311)
Changed
- Update
go.opentelemetry.io/otel*
dependencies fromv1.0.0-RC3
tov1.3.0
. - Update
go.opentelemetry.io/contrib*
dependencies fromv0.23.0
tov0.28.0
.
v0.6.0
The primary change of this release is updating go.opentelemetry.io/otel*
dependencies to v1.0.0-RC3
and
go.opentelemetry.io/contrib*
dependencies to v0.23.0
.
Changed
- Update
go.opentelemetry.io/otel*
dependencies fromv1.0.0-RC2
tov1.0.0-RC3
. - Update
go.opentelemetry.io/contrib*
dependencies fromv0.22.0
tov0.23.0
.