blob: 195209f3fb2542368d3aa59fc6ffad859fc43a16 (
plain)
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
|
global:
namespace: monitoring
grafana:
ingress:
enabled: true
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.ingress.kubernetes.io/router.tls.certresolver: "default"
traefik.ingress.kubernetes.io/redirect-entry-point: https
hosts:
- grafana.topkek.cloud
path: /
tls:
- hosts:
- grafana.topkek.cloud
secretName: grafana-tls
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus-server.monitoring.svc.cluster.local
isDefault: true
- name: Elasticsearch
type: elasticsearch
access: proxy
url: http://elasticsearch-master.monitoring.svc.cluster.local:9200
jsonData:
esVersion: 7
timeField: "@timestamp"
prometheus:
alertmanager:
enabled: true
pushgateway:
enabled: true
server:
enabled: true
elasticsearch:
volumeClaimTemplate:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 30Gi
opentelemetry-collector:
config:
receivers:
otlp:
protocols:
grpc:
http:
processors:
batch:
exporters:
prometheusremotewrite:
endpoint: "http://prometheus-server.monitoring.svc.cluster.local/api/v1/write"
logging:
loglevel: debug
elasticsearch:
endpoints: ["http://elasticsearch-master.monitoring.svc.cluster.local:9200"]
index: "otel-logs-%{+yyyy.MM.dd}"
service:
pipelines:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheusremotewrite]
logs:
receivers: [otlp]
processors: [batch]
exporters: [logging, elasticsearch]
otelcol:
enabled: true
|