Skip to content

Commit 2fd646f

Browse files
authored
Update Spaces collector values for setting API keys (#1055)
1 parent 978d7d3 commit 2fd646f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/manuals/spaces/howtos/self-hosted/space-observability.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,18 @@ To configure how Upbound exports, review the `spacesCollector` value in your Spa
4343
```yaml
4444
observability:
4545
spacesCollector:
46+
env:
47+
- name: API_KEY
48+
valueFrom:
49+
secretKeyRef:
50+
name: my-secret
51+
key: api-key
4652
config:
4753
exporters:
4854
otlphttp:
4955
endpoint: "<your-endpoint>"
5056
headers:
51-
api-key: YOUR_API_KEY
57+
api-key: ${env:API_KEY}
5258
exportPipeline:
5359
logs:
5460
- otlphttp
@@ -66,7 +72,7 @@ provider-kubernetes.
6672
### Router metrics
6773
6874
The Spaces router component uses Envoy as a reverse proxy and exposes detailed
69-
metrics about request handling, circuit breakers, and connection pooling.
75+
metrics about request handling, circuit breakers, and connection pooling.
7076
Upbound collects these metrics in your Space after you enable Space-level
7177
observability.
7278

0 commit comments

Comments
 (0)