-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathexample_server.yaml
More file actions
81 lines (74 loc) · 2.5 KB
/
example_server.yaml
File metadata and controls
81 lines (74 loc) · 2.5 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
logging: "info" # panic,fatal,warn,info,debug,trace
addr: ":8080"
metricsAddr: ":9090"
# pprofAddr: ":6060" # optional. if supplied it enables pprof server
# grpcReflection: false # optional. if supplied it enables grpc reflection
labels:
ethpandaops: rocks
# Better to use a NTP server close eg.
# time.aws.com - AWS
# time.windows.com - Azure
# time.google.com - GCP
# pool.ntp.org - https://www.pool.ntp.org/zone/@
ntpServer: time.google.com
persistence:
enabled: false
# driverName: postgres
# connectionString: postgres://postgres:password@localhost:5432/xatu?sslmode=disable
# maxIdleConns: 2 # 0 = no idle connections are retained
# maxOpenConns: 0 # 0 = unlimited
store:
type: memory
# type: redis-cluster
# config:
# address: redis://<user>:<password>@<host>:<port>/<db>?addr=<host2>:<port2>&addr=<host3>:<port3>
# prefix: xatu
# type: redis-server
# config:
# address: redis://<user>:<pass>@<ip>:<port>/<db>
# prefix: xatu
geoip:
enabled: false
# Run ./get-geo.sh to download MaxMind and GeoNames data files required for geo lookups
# type: maxmind
# config:
# database:
# city: ./GeoLite2-City.mmdb
# asn: ./GeoLite2-ASN.mmdb
# geonames:
# cities: ./cities1000.txt # Optional: GeoNames cities file for city centroids
# countries: ./countries.txt # Optional: GeoNames countries file for country centroids
# HTTP ingester provides an HTTP endpoint as an alternative to gRPC.
# Useful for Vector-based log collectors like sentry-logs.
# Reuses services.eventIngester config for auth, outputs, etc.
httpIngester:
enabled: false
# addr: ":8087"
services:
coordinator:
enabled: false # requires persistence to be enabled
# nodeRecord:
# maxQueueSize: 51200
# batchTimeout: 5s
# exportTimeout: 30s
# maxExportBatchSize: 512
eventIngester:
enabled: true
clientNameSalt: "change-me-to-a-random-string"
# authorization:
# enabled: true
# groups:
# my-group:
# obscureClientNames: true
# precision: "city" # full, city, country, continent, none - controls geo coordinate precision
# asn: false # Include ASN data (Autonomous System Number) - defaults to true
# users:
# my-user:
# password: "my-password"
# eventFilter:
# eventNames:
# - BEACON_API_ETH_V1_EVENTS_ATTESTATION
# - BEACON_API_ETH_V1_EVENTS_BLOCK
outputs:
- name: stdout
type: stdout