-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.yaml
65 lines (57 loc) · 1.57 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
extensions:
bearertokenauth/github:
token: ${env:GH_PAT}
bearertokenauth/gitlab:
token: ${env:GL_PAT}
receivers:
otlp:
protocols:
grpc:
http:
gitlab:
initial_delay: 10s
collection_interval: 60s
scrapers:
gitlab:
# Optionally enable or disable metrics
# metrics:
# Example
# vcs.repository.count:
# enabled: true
# ...
gitlab_org: ${env:GL_ORG}
# search_query: ${env:SEARCH_QUERY} #Recommended optional query override, defaults to "{org,user}:<github_org>"
# endpoint: https://selfmanagedenterpriseserver.com
auth:
authenticator: bearertokenauth/gitlab
github:
initial_delay: 10s
collection_interval: 60s
scrapers:
scraper:
# Optionally enable or disable metrics
# metrics:
# Example
# vcs.repository.count:
# enabled: true
# ...
github_org: ${env:GH_ORG}
# search_query: ${env:SEARCH_QUERY} #Recommended optional query override, defaults to "{org,user}:<github_org>"
# endpoint: https://selfmanagedenterpriseserver.com
auth:
authenticator: bearertokenauth/github
processors:
exporters:
debug:
verbosity: basic
sampling_initial: 2
sampling_thereafter: 500
service:
## Add bearertokenauth/* if you want to use bearer token auth extensions
extensions: [bearertokenauth/github, bearertokenauth/gitlab]
pipelines:
metrics:
receivers: [gitlab, github]
processors: []
exporters: [debug]