Skip to content

Commit

Permalink
add more environment variables to OTEL exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Feb 21, 2024
1 parent 09edbd5 commit 146e65d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rfcs/0000-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ _This RFC does not specify the following planned changes:_
- The connector should send any relevant trace spans in the OTLP format to the OTEL collector hosted at the URL provided by the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable.
- Note: `OTEL_EXPORTER_OTLP_ENDPOINT` indicates the _root URL_ of the collector, and not the `/v1/traces` endpoint.
- Spans should indicate the service name provided by the `OTEL_SERVICE_NAME` environment variable.
- The connector can configure additional headers to add in outgoing gRPC or HTTP requests by the `OTEL_EXPORTER_OTLP_HEADERS` environment variables.
- The connector also can configure additional resource attributes for requests by the `OTEL_RESOURCE_ATTRIBUTES` environment variables.
- Note: the value of `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_RESOURCE_ATTRIBUTES` is key-value pairs, for example, `api-key=key,other-config-value=value`.
- If the `HASURA_SERVICE_TOKEN_SECRET` environment variable is specified and non-empty, then the connector should implement bearer-token HTTP authorization using the provided static secret token.
- Information log messages should be logged in plain text to standard output.
- Error messages should be logged in plain text to standard error.
Expand Down

0 comments on commit 146e65d

Please sign in to comment.