-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathotel-config.yaml
47 lines (45 loc) · 918 Bytes
/
otel-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
extensions:
health_check:
sigv4auth:
region: "$AMP_REGION"
receivers:
prometheus:
config:
global:
scrape_interval: 15s
scrape_timeout: 10s
scrape_configs:
- job_name: $JOB_NAME
scrape_interval: 150s
scrape_timeout: 30s
honor_labels: true
scheme: https
oauth2:
client_id: $CLIENT_ID
client_secret: $CLIENT_SECRET
token_url: $TOKEN_URL
static_configs:
- targets:
- $TARGET
processors:
batch/metrics:
timeout: 60s
service:
telemetry:
logs:
level: "debug"
pipelines:
metrics:
receivers:
- prometheus
exporters:
- prometheusremotewrite
- logging
extensions: [sigv4auth, health_check]
exporters:
logging:
loglevel: debug
prometheusremotewrite:
endpoint: "$AMP_ENDPOINT"
auth:
authenticator: sigv4auth