-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
31 lines (29 loc) · 1.01 KB
/
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
receivers:
prometheus:
config:
scrape_configs:
- job_name: 'otel-collector'
scrape_interval: 10s
static_configs:
- targets: ['localhost:8890']
- targets: ['localhost:8889']
- targets: ['localhost:8888']
exporters:
alibabacloud_logservice:
# LogService's Endpoint, https://www.alibabacloud.com/help/doc-detail/29008.htm
# for AlibabaCloud Kubernetes(or ECS), set {region-id}-intranet.log.aliyuncs.com, eg cn-hangzhou-intranet.log.aliyuncs.com;
# others set {region-id}.log.aliyuncs.com, eg cn-hangzhou.log.aliyuncs.com
endpoint: "cn-hangzhou.log.aliyuncs.com"
# LogService's Project Name
project: "demo-project"
# LogService's Logstore Name
logstore: "demo-logstore"
# AlibabaCloud access key id
access_key_id: "access-key-id"
# AlibabaCloud access key secret
access_key_secret: "access-key-secret"
service:
pipelines:
metrics:
receivers: [prometheus]
exporters: [alibabacloud_logservice]