exporter: otlp
: Specifies that OpenTelemetry (OTLP) will be used as the exporter.endpoint: http://localhost:4317
: This is the default OpenTelemetry Collector endpoint for receiving traces.enabled: true
: Enables the tracing feature.insecure: true
: Uses HTTP instead of HTTPS for exporting traces.Required | Argument | Default | Description |
---|---|---|---|
[x] | exporter | otlp | otlp is the default. |
[x] | endpoint | - | The export URI for metric observation. |
[ ] | enabled | true | Switch option for meter tracing. |
[ ] | urlpath | /v1/metrics | Allows you to override the default URL path for metrics export. |
[ ] | insecure | false | Whether to use HTTP instead of HTTPS for exporting metrics. |
meter
section like this:
endpoint: http://collector:4317
: This is the URL of your OpenTelemetry Collector instance for receiving metrics data.urlpath: /v1/metrics
: The URL path used for sending the metrics (you can override it as needed).