forked from open-telemetry/opentelemetry-helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
832 lines (797 loc) · 23.6 KB
/
values.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
default:
# List of environment variables applied to all components
env:
- name: OTEL_SERVICE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: "metadata.labels['app.kubernetes.io/component']"
- name: OTEL_COLLECTOR_NAME
value: '{{ include "otel-demo.name" . }}-otelcol'
- name: OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
value: cumulative
- name: OTEL_RESOURCE_ATTRIBUTES
value: service.name=$(OTEL_SERVICE_NAME),service.namespace=opentelemetry-demo
# Allows overriding and additions to .Values.default.env
envOverrides: []
# - name: OTEL_K8S_NODE_NAME
# value: "someConstantValue"
image:
repository: ghcr.io/open-telemetry/demo
# Overrides the image tag whose default is the chart appVersion.
# The service's name will be applied to the end of this value.
tag: ""
pullPolicy: IfNotPresent
pullSecrets: []
# Default # of replicas for all components
replicas: 1
# Default schedulingRules for all components
schedulingRules:
nodeSelector: {}
affinity: {}
tolerations: []
# Default securityContext for all components
securityContext: {}
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
components:
## Demo Components are named objects (services) with several properties
# demoService:
## Enable the component (service)
# enabled: true
# useDefault:
## Use default environment variables
# env: true
## Override Image repository and Tag. Tag will use appVersion as default.
## Component's name will be applied to end of this value.
# imageOverride: {}
## Optional service definitions to apply
# service:
## Service Type to use for this component. Default is ClusterIP.
# type: ClusterIP
## Service Port to use to expose this component. Default is nil
# port: 8080
## Service Node Port to use to expose this component on a NodePort service. Default is nil
# nodePort: 30080
## Service Annotations to add to this component
# annotations: {}
## Additional service ports to use to expose this component
# ports:
# - name: extraServicePort
# value: 8081
## Environment variables to add to the component's pod
# env:
## Environment variables that upsert (append + merge) into the `env` specification for this component.
## A variable named OTEL_RESOURCE_ATTRIBUTES_EXTRA will have its value appended to the OTEL_RESOURCE_ATTRIBUTES value.
# envOverrides:
## Pod Scheduling rules for nodeSelector, affinity, or tolerations.
# schedulingRules:
# nodeSelector: {}
# affinity: {}
# tolerations: []
## Pod Annotations to add to this component
# podAnnotations: {}
## Resources for this component
# resources: {}
## Container security context for setting user ID (UID), group ID (GID) and other security policies
# securityContext:
## Ingresses rules to add for the to the component
# ingress:
## Enable the creation of Ingress rules. Default is false
# enabled: false
## Annotations to add to the ingress rule
# annotations: {}
## Which Ingress class (controller) to use. Default is unspecified.
# ingressClassName: nginx
## Hosts definitions for the Ingress rule
# hosts:
# - host: demo.example.com
## Each host can have multiple paths/routes
# paths:
# - path: /
# pathType: Prefix
# port: 8080
## Optional TLS specifications for the Ingress rule
# tls:
# - secretName: demo-tls
# hosts:
# - demo.example.com
## Additional ingresses - only created if ingress.enabled is true
## Useful for when differently annotated ingress services are required
## Each additional ingress needs key "name" set to something unique
# additionalIngresses: []
# - name: extra-demo-ingress
# ingressClassName: nginx
# annotations: {}
# hosts:
# - host: demo.example.com
# paths:
# - path: /
# pathType: Prefix
# port: 8080
# tls:
# - secretName: demo-tls
# hosts:
# - demo.example.com
## Command to use in the container spec, in case you don't want to go with the default command from the image.
# command: []
## Configuration to for this component; will create a Volume, and Mount backed by an optionally created ConfigMap.
## The name, mountPath are required, and one of existingConfigMap or data is required.
## If an existing ConfigMap is not provided, the contents under data will be used for the created ConfigMap.
# mountedConfigMaps: []
# - name: my-config
# mountPath: /etc/config
# subPath:
# existingConfigMap: my-configmap
# data:
# my-config.yaml: |
# key: value
# # Kubernetes container health check options
# livenessProbe: {}
# # Optional init container to run before the pod starts.
# initContainers:
# - name: <init-container-name>
# image: <init-container-image>
# command: [list of commands for the init container to run]
# # Replicas for the component
# replicas: 1
# # Optional pod security context for setting user ID (UID), group ID (GID) and other security policies
# # This will be applied at pod level, can be applied globally for all pods: .Values.default.podSecurityContext
# # Or it can be applied to a specific component: .Values.components.<component-name>.podSecurityContext
# podSecurityContext:
# runAsGroup: 65534
# runAsNonRoot: true
# runAsUser: 65534
accountingService:
enabled: true
useDefault:
env: true
env:
- name: KAFKA_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-kafka:9092'
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
resources:
limits:
memory: 20Mi
initContainers:
- name: wait-for-kafka
image: busybox:latest
command: ['sh', '-c', 'until nc -z -v -w30 {{ include "otel-demo.name" . }}-kafka 9092; do echo waiting for kafka; sleep 2; done;']
adService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: AD_SERVICE_PORT
value: "8080"
- name: FLAGD_HOST
value: '{{ include "otel-demo.name" . }}-flagd'
- name: FLAGD_PORT
value: "8013"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4318
- name: OTEL_LOGS_EXPORTER
value: otlp
resources:
limits:
memory: 300Mi
cartService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: CART_SERVICE_PORT
value: "8080"
- name: ASPNETCORE_URLS
value: http://*:$(CART_SERVICE_PORT)
- name: FLAGD_HOST
value: '{{ include "otel-demo.name" . }}-flagd'
- name: FLAGD_PORT
value: "8013"
- name: REDIS_ADDR
value: '{{ include "otel-demo.name" . }}-redis:6379'
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
resources:
limits:
memory: 160Mi
initContainers:
- name: wait-for-redis
image: busybox:latest
command: ['sh', '-c', 'until nc -z -v -w30 {{ include "otel-demo.name" . }}-redis 6379; do echo waiting for redis; sleep 2; done;']
checkoutService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: CHECKOUT_SERVICE_PORT
value: "8080"
- name: FLAGD_HOST
value: '{{ include "otel-demo.name" . }}-flagd'
- name: FLAGD_PORT
value: "8013"
- name: CART_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-cartservice:8080'
- name: CURRENCY_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-currencyservice:8080'
- name: EMAIL_SERVICE_ADDR
value: 'http://{{ include "otel-demo.name" . }}-emailservice:8080'
- name: PAYMENT_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-paymentservice:8080'
- name: PRODUCT_CATALOG_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-productcatalogservice:8080'
- name: SHIPPING_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-shippingservice:8080'
- name: KAFKA_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-kafka:9092'
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
resources:
limits:
memory: 20Mi
initContainers:
- name: wait-for-kafka
image: busybox:latest
command: ['sh', '-c', 'until nc -z -v -w30 {{ include "otel-demo.name" . }}-kafka 9092; do echo waiting for kafka; sleep 2; done;']
currencyService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: CURRENCY_SERVICE_PORT
value: "8080"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
- name: VERSION
value: "{{ .Chart.AppVersion }}"
resources:
limits:
memory: 20Mi
emailService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: EMAIL_SERVICE_PORT
value: "8080"
- name: APP_ENV
value: production
- name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4318/v1/traces
resources:
limits:
memory: 100Mi
frauddetectionService:
enabled: true
useDefault:
env: true
env:
- name: KAFKA_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-kafka:9092'
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4318
resources:
limits:
memory: 200Mi
initContainers:
- name: wait-for-kafka
image: busybox:latest
command: ['sh', '-c', 'until nc -z -v -w30 {{ include "otel-demo.name" . }}-kafka 9092; do echo waiting for kafka; sleep 2; done;']
frontend:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: FRONTEND_PORT
value: "8080"
- name: FRONTEND_ADDR
value: :8080
- name: AD_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-adservice:8080'
- name: CART_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-cartservice:8080'
- name: CHECKOUT_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-checkoutservice:8080'
- name: CURRENCY_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-currencyservice:8080'
- name: PRODUCT_CATALOG_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-productcatalogservice:8080'
- name: RECOMMENDATION_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-recommendationservice:8080'
- name: SHIPPING_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-shippingservice:8080'
- name: OTEL_COLLECTOR_HOST
value: $(OTEL_COLLECTOR_NAME)
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
- name: WEB_OTEL_SERVICE_NAME
value: frontend-web
- name: PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
value: http://localhost:8080/otlp-http/v1/traces # This expects users to use `kubectl port-forward ...`
resources:
limits:
memory: 200Mi
securityContext:
runAsUser: 1001 # nextjs
runAsGroup: 1001
runAsNonRoot: true
frontendProxy:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: ENVOY_PORT
value: "8080"
- name: FRONTEND_PORT
value: "8080"
- name: FRONTEND_HOST
value: '{{ include "otel-demo.name" . }}-frontend'
- name: LOCUST_WEB_PORT
value: "8089"
- name: LOCUST_WEB_HOST
value: '{{ include "otel-demo.name" . }}-loadgenerator'
- name: GRAFANA_SERVICE_PORT
value: "80"
- name: GRAFANA_SERVICE_HOST
value: '{{ include "otel-demo.name" . }}-grafana'
- name: JAEGER_SERVICE_PORT
value: "16686"
- name: JAEGER_SERVICE_HOST
value: '{{ include "otel-demo.name" . }}-jaeger-query'
- name: OTEL_COLLECTOR_PORT_GRPC
value: "4317"
- name: OTEL_COLLECTOR_PORT_HTTP
value: "4318"
- name: OTEL_COLLECTOR_HOST
value: $(OTEL_COLLECTOR_NAME)
resources:
limits:
memory: 50Mi
securityContext:
runAsUser: 101 # envoy
runAsGroup: 101
runAsNonRoot: true
loadgenerator:
enabled: true
useDefault:
env: true
service:
port: 8089
env:
- name: LOCUST_WEB_PORT
value: "8089"
- name: LOCUST_USERS
value: "10"
- name: LOCUST_SPAWN_RATE
value: "1"
- name: LOCUST_HOST
value: 'http://{{ include "otel-demo.name" . }}-frontendproxy:8080'
- name: LOCUST_HEADLESS
value: "false"
- name: LOCUST_AUTOSTART
value: "true"
- name: LOCUST_BROWSER_TRAFFIC_ENABLED
value: "true"
- name: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION
value: python
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
- name: FLAGD_HOST
value: '{{ include "otel-demo.name" . }}-flagd'
- name: FLAGD_PORT
value: "8013"
resources:
limits:
memory: 1Gi
paymentService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: PAYMENT_SERVICE_PORT
value: "8080"
- name: FLAGD_HOST
value: '{{ include "otel-demo.name" . }}-flagd'
- name: FLAGD_PORT
value: "8013"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
resources:
limits:
memory: 120Mi
securityContext:
runAsUser: 1000 # node
runAsGroup: 1000
runAsNonRoot: true
productCatalogService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: PRODUCT_CATALOG_SERVICE_PORT
value: "8080"
- name: FLAGD_HOST
value: '{{ include "otel-demo.name" . }}-flagd'
- name: FLAGD_PORT
value: "8013"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
resources:
limits:
memory: 20Mi
quoteService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: QUOTE_SERVICE_PORT
value: "8080"
- name: OTEL_PHP_AUTOLOAD_ENABLED
value: "true"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4318
resources:
limits:
memory: 40Mi
securityContext:
runAsUser: 33 # www-data
runAsGroup: 33
runAsNonRoot: true
recommendationService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: RECOMMENDATION_SERVICE_PORT
value: "8080"
- name: PRODUCT_CATALOG_SERVICE_ADDR
value: '{{ include "otel-demo.name" . }}-productcatalogservice:8080'
- name: FLAGD_HOST
value: '{{ include "otel-demo.name" . }}-flagd'
- name: FLAGD_PORT
value: "8013"
- name: OTEL_PYTHON_LOG_CORRELATION
value: "true"
- name: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION
value: python
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
resources:
limits:
memory: 500Mi # This is high to enable supporting the recommendationCache feature flag use case
shippingService:
enabled: true
useDefault:
env: true
service:
port: 8080
env:
- name: SHIPPING_SERVICE_PORT
value: "8080"
- name: QUOTE_SERVICE_ADDR
value: 'http://{{ include "otel-demo.name" . }}-quoteservice:8080'
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
resources:
limits:
memory: 20Mi
flagd:
enabled: true
imageOverride:
repository: "ghcr.io/open-feature/flagd"
tag: "v0.9.0"
useDefault:
env: true
replicas: 1
service:
port: 8013
resources:
limits:
memory: 20Mi
command:
- "/flagd-build"
- "start"
- "--uri"
- "file:./etc/flagd/demo.flagd.json"
mountedConfigMaps:
- name: config
mountPath: /etc/flagd
existingConfigMap: '{{ include "otel-demo.name" . }}-flagd-config'
kafka:
enabled: true
useDefault:
env: true
replicas: 1
ports:
- name: plaintext
value: 9092
- name: controller
value: 9093
env:
- name: KAFKA_ADVERTISED_LISTENERS
value: 'PLAINTEXT://{{ include "otel-demo.name" . }}-kafka:9092'
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4318
- name: KAFKA_HEAP_OPTS
value: "-Xmx200M -Xms200M"
resources:
limits:
memory: 500Mi
securityContext:
runAsUser: 1000 # appuser
runAsGroup: 1000
runAsNonRoot: true
redis:
enabled: true
useDefault:
env: true
imageOverride:
repository: "redis"
tag: "7.2-alpine"
replicas: 1
ports:
- name: redis
value: 6379
resources:
limits:
memory: 20Mi
securityContext:
runAsUser: 999 # redis
runAsGroup: 1000
runAsNonRoot: true
opentelemetry-collector:
enabled: true
nameOverride: otelcol
mode: deployment
presets:
kubernetesAttributes:
enabled: true
resources:
limits:
memory: 200Mi
service:
type: ClusterIP
ports:
metrics:
enabled: true
prometheus:
enabled: true
containerPort: 9464
servicePort: 9464
protocol: TCP
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9464"
opentelemetry_community_demo: "true"
config:
receivers:
otlp:
protocols:
http:
# Since this collector needs to receive data from the web, enable cors for all origins
# `allowed_origins` can be refined for your deployment domain
cors:
allowed_origins:
- "http://*"
- "https://*"
exporters:
## Create an exporter to Jaeger using the standard `otlp` export format
otlp:
endpoint: '{{ include "otel-demo.name" . }}-jaeger-collector:4317'
tls:
insecure: true
# Create an exporter to Prometheus (metrics)
otlphttp/prometheus:
endpoint: 'http://{{ include "otel-demo.name" . }}-prometheus-server:9090/api/v1/otlp'
tls:
insecure: true
opensearch:
logs_index: otel
http:
endpoint: "http://otel-demo-opensearch:9200"
tls:
insecure: true
processors:
resource:
attributes:
- key: service.instance.id
from_attribute: k8s.pod.uid
action: insert
connectors:
spanmetrics: {}
service:
pipelines:
traces:
processors: [memory_limiter, resource, batch]
exporters: [otlp, debug, spanmetrics]
metrics:
receivers: [otlp, spanmetrics]
processors: [memory_limiter, resource, batch]
exporters: [otlphttp/prometheus, debug]
logs:
processors: [memory_limiter, resource, batch]
exporters: [opensearch, debug]
jaeger:
enabled: true
provisionDataStore:
cassandra: false
allInOne:
enabled: true
args:
- "--memory.max-traces=5000"
- "--query.base-path=/jaeger/ui"
- "--prometheus.server-url=http://{{ include \"otel-demo.name\" . }}-prometheus-server:9090"
- "--prometheus.query.normalize-calls=true"
- "--prometheus.query.normalize-duration=true"
extraEnv:
- name: METRICS_STORAGE_TYPE
value: prometheus
resources:
limits:
memory: 400Mi
storage:
type: none
agent:
enabled: false
collector:
enabled: false
query:
enabled: false
prometheus:
enabled: true
alertmanager:
enabled: false
configmapReload:
prometheus:
enabled: false
kube-state-metrics:
enabled: false
prometheus-node-exporter:
enabled: false
prometheus-pushgateway:
enabled: false
server:
extraFlags:
- "enable-feature=exemplar-storage"
- "enable-feature=otlp-write-receiver"
global:
scrape_interval: 5s
scrape_timeout: 3s
evaluation_interval: 30s
persistentVolume:
enabled: false
service:
servicePort: 9090
resources:
limits:
memory: 300Mi
serverFiles:
prometheus.yml:
scrape_configs:
- job_name: 'otel-collector'
honor_labels: true
kubernetes_sd_configs:
- role: pod
namespaces:
own_namespace: true
relabel_configs:
- source_labels: [__meta_kubernetes_pod_annotation_opentelemetry_community_demo]
action: keep
regex: true
grafana:
enabled: true
grafana.ini:
auth:
disable_login_form: true
auth.anonymous:
enabled: true
org_name: Main Org.
org_role: Admin
server:
root_url: "%(protocol)s://%(domain)s:%(http_port)s/grafana"
serve_from_sub_path: true
adminPassword: admin
plugins:
- grafana-opensearch-datasource
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
uid: webstore-metrics
type: prometheus
url: 'http://{{ include "otel-demo.name" . }}-prometheus-server:9090'
editable: true
isDefault: true
jsonData:
exemplarTraceIdDestinations:
- datasourceUid: webstore-traces
name: trace_id
- url: http://localhost:8080/jaeger/ui/trace/$${__value.raw}
name: trace_id
urlDisplayLabel: View in Jaeger UI
- name: Jaeger
uid: webstore-traces
type: jaeger
url: 'http://{{ include "otel-demo.name" . }}-jaeger-query:16686/jaeger/ui'
editable: true
isDefault: false
- name: OpenSearch
type: grafana-opensearch-datasource
url: 'http://otel-demo-opensearch:9200/'
access: proxy
editable: true
isDefault: false
jsonData:
database: otel
flavor: opensearch
logLevelField: severity
logMessageField: body
pplEnabled: true
timeField: observedTimestamp
version: 2.13.0
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/default
dashboardsConfigMaps:
default: '{{ include "otel-demo.name" . }}-grafana-dashboards'
resources:
limits:
memory: 150Mi
opensearch:
enabled: true
fullnameOverride: otel-demo-opensearch
clusterName: demo-cluster
nodeGroup: otel-demo
singleNode: true
opensearchJavaOpts: "-Xms300m -Xmx300m"
persistence:
enabled: false
extraEnvs:
- name: "bootstrap.memory_lock"
value: "true"
- name: "DISABLE_INSTALL_DEMO_CONFIG"
value: "true"
- name: "DISABLE_SECURITY_PLUGIN"
value: "true"
resources:
limits:
memory: 1Gi