Add log setup instructions
This commit is contained in:
parent
9522b948c9
commit
a838ec96b2
1 changed files with 48 additions and 0 deletions
48
logging.yaml
Normal file
48
logging.yaml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
cluster:
|
||||||
|
name: rut-test
|
||||||
|
|
||||||
|
destinations: # List of destinations where telemetry data will be sent
|
||||||
|
- name: monitor-test
|
||||||
|
type: otlp
|
||||||
|
url: "https://monitor-test.rut.sunet.se:4317"
|
||||||
|
metrics: { enabled: true }
|
||||||
|
logs: { enabled: true }
|
||||||
|
traces: { enabled: true }
|
||||||
|
|
||||||
|
# Features to enable, which determines what data to collect
|
||||||
|
clusterMetrics:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
clusterEvents:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
podLogs:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
annotationAutodiscovery:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
scrape: prometheus.io/scrape
|
||||||
|
metricsPath: prometheus.io/path
|
||||||
|
metricsPortNumber: prometheus.io/port
|
||||||
|
metricsScheme: prometheus.io/scheme
|
||||||
|
|
||||||
|
integrations:
|
||||||
|
cert-manager:
|
||||||
|
instances:
|
||||||
|
- name: cert-manager
|
||||||
|
labelSelectors:
|
||||||
|
app.kubernetes.io/name: cert-manager
|
||||||
|
|
||||||
|
prometheusOperatorObjects:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# Telemetry collector definitions
|
||||||
|
alloy-metrics:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
alloy-singleton:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
alloy-logs:
|
||||||
|
enabled: true
|
Loading…
Add table
Reference in a new issue