We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the issue
https://docs.splunk.com/observability/en/gdi/get-data-in/application/go/instrumentation/instrument-go-application.html#send-data-directly-to-splunk-observability-cloud
It is not possible to send metrics directly to o11y Cloud.
Steps to reproduce the issue: For example:
main
SPLUNK_ACCESS_TOKEN
SPLUNK_REALM
OTEL_SERVICE_NAME
OTEL_RESOURCE_ATTRIBUTES
cd example; go run .
2023-10-23T16:40:04.069Z error distro/otel.go:73 OpenTelemetry error {"error": "failed to upload metrics: rpc error: code = Unimplemented desc = "}
Attempted solutions and workarounds
Setting OTEL_METRICS_EXPORTER="none" gets rid of the error but we do not have the metrics exported.
OTEL_METRICS_EXPORTER="none"
Expected behavior
Make it possible to export metrics directly to o11y.
We need to make sure to not make a breaking change when introducing a fix.
We should use OTLP over HTTP/protobuf when SPLUNK_REALM is set. This is what e.g. https://github.com/signalfx/splunk-otel-js/ does.
Additional context
We could also add support for OTEL_EXPORTER_OTLP_METRICS_PROTOCOL and other per signal metrics. Probably it would be best to reuse https://pkg.go.dev/go.opentelemetry.io/contrib/exporters/autoexport (with overridden defaults). This can be done later.
OTEL_EXPORTER_OTLP_METRICS_PROTOCOL
The text was updated successfully, but these errors were encountered:
I created: splunk/public-o11y-docs#1008
Sorry, something went wrong.
Currently blocked by:
pellared
Successfully merging a pull request may close this issue.
Describe the issue
https://docs.splunk.com/observability/en/gdi/get-data-in/application/go/instrumentation/instrument-go-application.html#send-data-directly-to-splunk-observability-cloud
It is not possible to send metrics directly to o11y Cloud.
Steps to reproduce the issue:
For example:
main
branch.SPLUNK_ACCESS_TOKEN
SPLUNK_REALM
OTEL_SERVICE_NAME
OTEL_RESOURCE_ATTRIBUTES
env varscd example; go run .
Attempted solutions and workarounds
Setting
OTEL_METRICS_EXPORTER="none"
gets rid of the error but we do not have the metrics exported.Expected behavior
Make it possible to export metrics directly to o11y.
We need to make sure to not make a breaking change when introducing a fix.
We should use OTLP over HTTP/protobuf when
SPLUNK_REALM
is set. This is what e.g. https://github.com/signalfx/splunk-otel-js/ does.Additional context
We could also add support for
OTEL_EXPORTER_OTLP_METRICS_PROTOCOL
and other per signal metrics. Probably it would be best to reuse https://pkg.go.dev/go.opentelemetry.io/contrib/exporters/autoexport (with overridden defaults). This can be done later.The text was updated successfully, but these errors were encountered: