123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788 |
- 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: 'otel-collector-opentelemetry-collector.observe.svc.cluster.local'
- - 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.
- # 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 service; will create a ConfigMap, Volume, and Mount it into the container being spun up/.
- # configuration: {}
- # # 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
- 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: 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;']
- adService:
- enabled: true
- useDefault:
- env: true
- service:
- port: 8080
- env:
- - name: AD_SERVICE_PORT
- value: "8080"
- - name: FEATURE_FLAG_GRPC_SERVICE_ADDR
- value: '{{ include "otel-demo.name" . }}-featureflagservice:50053'
- - name: OTEL_EXPORTER_OTLP_ENDPOINT
- value: http://$(OTEL_COLLECTOR_NAME):4317
- - 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: FEATURE_FLAG_GRPC_SERVICE_ADDR
- value: '{{ include "otel-demo.name" . }}-featureflagservice:50053'
- - name: REDIS_ADDR
- value: '{{ include "otel-demo.name" . }}-redis:6379'
- - name: OTEL_EXPORTER_OTLP_ENDPOINT
- value: http://$(OTEL_COLLECTOR_NAME):4317
- resources:
- limits:
- memory: 360Mi
- 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: 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: 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;']
- 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
- resources:
- limits:
- memory: 200Mi
- 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: 300Mi
- featureflagService:
- enabled: true
- useDefault:
- env: true
- ports:
- - name: grpc
- value: 50053
- - name: http
- value: 8081
- env:
- - name: FEATURE_FLAG_SERVICE_PORT
- value: "8081"
- - name: FEATURE_FLAG_GRPC_SERVICE_PORT
- value: "50053"
- - name: DATABASE_URL
- value: 'ecto://ffs:ffs@{{ include "otel-demo.name" . }}-ffspostgres:5432/ffs'
- - name: OTEL_EXPORTER_OTLP_ENDPOINT
- value: http://$(OTEL_COLLECTOR_NAME):4317
- - name: OTEL_EXPORTER_OTLP_TRACES_PROTOCOL
- value: grpc
- resources:
- limits:
- memory: 1Gi
- livenessProbe:
- httpGet:
- path: /featureflags/
- port: 8081
- initialDelaySeconds: 30
- periodSeconds: 10
- initContainers:
- - name: wait-for-ffspostgres
- image: busybox:latest
- command: ['sh', '-c', 'until nc -z -v -w30 {{ include "otel-demo.name" . }}-ffspostgres 5432; do echo waiting for ffspostgres; sleep 2; done']
- 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):4317
- resources:
- limits:
- memory: 300Mi
- 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_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: 500Mi
- cpu: 200m
- 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: FEATURE_FLAG_SERVICE_PORT
- value: "8081"
- - name: FEATURE_FLAG_SERVICE_HOST
- value: '{{ include "otel-demo.name" . }}-featureflagservice'
- - 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: 500Mi
- 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: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION
- value: python
- - name: OTEL_EXPORTER_OTLP_ENDPOINT
- value: http://$(OTEL_COLLECTOR_NAME):4317
- resources:
- limits:
- memory: 320Mi
- paymentService:
- enabled: true
- useDefault:
- env: true
- service:
- port: 8080
- env:
- - name: PAYMENT_SERVICE_PORT
- value: "8080"
- - name: OTEL_EXPORTER_OTLP_ENDPOINT
- value: http://$(OTEL_COLLECTOR_NAME):4317
- resources:
- limits:
- memory: 320Mi
- 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: FEATURE_FLAG_GRPC_SERVICE_ADDR
- value: '{{ include "otel-demo.name" . }}-featureflagservice:50053'
- - name: OTEL_EXPORTER_OTLP_ENDPOINT
- value: http://$(OTEL_COLLECTOR_NAME):4317
- resources:
- limits:
- memory: 300Mi
- 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: 400Mi
- 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: FEATURE_FLAG_GRPC_SERVICE_ADDR
- value: '{{ include "otel-demo.name" . }}-featureflagservice:50053'
- - 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_TRACES_ENDPOINT
- value: http://$(OTEL_COLLECTOR_NAME):4317/v1/traces
- resources:
- limits:
- memory: 300Mi
- ffsPostgres:
- enabled: true
- useDefault:
- env: true
- imageOverride:
- repository: "postgres"
- tag: "14"
- replicas: 1
- ports:
- - name: postgres
- value: 5432
- env:
- - name: POSTGRES_DB
- value: ffs
- - name: POSTGRES_USER
- value: ffs
- - name: POSTGRES_PASSWORD
- value: ffs
- resources:
- limits:
- memory: 320Mi
- securityContext:
- runAsUser: 999 # postgres
- runAsGroup: 999
- runAsNonRoot: true
- 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):4317
- - 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: "alpine"
- replicas: 1
- ports:
- - name: redis
- value: 6379
- resources:
- limits:
- memory: 200Mi
- securityContext:
- runAsUser: 999 # redis
- runAsGroup: 1000
- runAsNonRoot: true
- opentelemetry-collector:
- enabled: false
- 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
- processors:
- resource:
- attributes:
- - key: service.instance.id
- from_attribute: k8s.pod.uid
- action: insert
- filter/ottl:
- error_mode: ignore
- metrics:
- metric:
- # FIXME: remove when a Metrics View is implemented in the checkout and productcatalog components
- # or when this issue is resolved: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/3071
- - 'name == "rpc.server.duration"'
- transform:
- metric_statements:
- - context: metric
- statements:
- # FIXME: remove when this issue is resolved: https://github.com/open-telemetry/opentelemetry-java/issues/4834
- - set(description, "") where name == "queueSize"
- # FIXME: remove when these 2 issues are resolved:
- # Java: https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/9478
- # Go: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/4301
- - set(description, "") where name == "rpc.server.duration"
- # FIXME: remove when this issue is resolved: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1958
- - set(description, "") where name == "http.client.duration"
- connectors:
- spanmetrics:
- service:
- pipelines:
- traces:
- processors: [memory_limiter, resource, batch]
- exporters: [otlp, debug, spanmetrics]
- metrics:
- receivers: [otlp, spanmetrics]
- processors: [memory_limiter, filter/ottl, transform, resource, batch]
- exporters: [otlphttp/prometheus, debug]
- jaeger:
- enabled: false
- provisionDataStore:
- cassandra: false
- allInOne:
- enabled: true
- args:
- - "--memory.max-traces=8000"
- - "--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: 300Mi
- storage:
- type: none
- agent:
- enabled: false
- collector:
- enabled: false
- query:
- enabled: false
- prometheus:
- enabled: false
- 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"
- persistentVolume:
- enabled: false
- service:
- servicePort: 9090
- resources:
- limits:
- memory: 300Mi
- serverFiles:
- prometheus.yml:
- scrape_configs: []
- grafana:
- enabled: false
- 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
- 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
- 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: 350Mi
|