Skip to content

How to configure the OpenTelemetry service name? #2877

@mlafreniere-mx

Description

@mlafreniere-mx

We deploy Permify in Kubernetes as part of a centralized authorization service, and our observability stack uses Datadog via an OpenTelemetry Collector.

We'd like to customize the service.name resource attribute on traces and metrics exported by Permify (e.g. to authorization-api instead of permify), but setting OTEL_SERVICE_NAME or
OTEL_RESOURCE_ATTRIBUTES doesn't seem to have any effect — the traces still show up as permify.

Is there a supported way to override the service name today? For example:

  • A config option under tracer: / meter:?
  • An environment variable we might be missing?

Thanks !

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions