Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/substrate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ See `values.yaml` for the full set; the important keys:
| `rustfs.enabled` | `true` | Deploy an in-cluster S3-compatible RustFS bucket for snapshots |
| `atelet.storageBackend` | `s3` | Default snapshot backend, wired to RustFS when `rustfs.enabled=true` |
| `atelet.gcpAuthForImagePulls` | `false` | Enable only when using GCP registry auth |
| `otel.endpoint` | `""` | Set to an OTLP endpoint to export traces/metrics |
| `otel.endpoint` | `""` | Set to an OTLP endpoint to export traces, metrics and the router access log |
7 changes: 7 additions & 0 deletions charts/substrate/templates/atenet-router.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ data:
host: $AGENTGATEWAY_OTLP_ADDRESS
protocol: grpc
randomSampling: 0.01
# Unsampled per-request access log. It carries the ate.* actor
# attribution, which the 1%-sampled traces cannot be aggregated on.
# `fields` stays unset so the OTLP sink inherits the full field set.
accessLog:
otlp:
host: $AGENTGATEWAY_OTLP_ADDRESS
protocol: grpc
{{- end }}

backends:
Expand Down
6 changes: 6 additions & 0 deletions manifests/ate-install/kind/otel-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ data:
receivers: [otlp]
processors: [batch]
exporters: [prometheus, debug]
# The router access log arrives here. Without a logs pipeline the
# receiver rejects the export and the records are lost silently.
logs:
receivers: [otlp]
processors: [batch]
exporters: [debug]

# The count pipelines read the same receiver as the two pipelines
# above, and they only count. The connector declares MutatesData
Expand Down
Loading