Skip to content

Commit

Permalink
telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed May 28, 2024
1 parent 416acb9 commit b5ce305
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 139 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Depending on the installation you perform, some tasks may be necessary or not. T
| diracxWeb.service.port | int | `8080` | |
| elasticsearch."discovery.seed_hosts"[0] | string | `"elasticsearch-master-headless"` | |
| elasticsearch.clusterHealthCheckParams | string | `"local=true"` | |
| elasticsearch.enabled | bool | `true` | |
| elasticsearch.enabled | bool | `false` | |
| elasticsearch.esJavaOpts | string | `"-Xms128m -Xmx128m"` | |
| elasticsearch.replicas | int | `1` | |
| elasticsearch.resources.limits.cpu | string | `"1000m"` | |
Expand Down Expand Up @@ -202,7 +202,7 @@ Depending on the installation you perform, some tasks may be necessary or not. T
| grafana.datasources."datasources.yaml".datasources[2].secureJsonData.basicAuthPassword | string | `"elastic"` | |
| grafana.datasources."datasources.yaml".datasources[2].type | string | `"elasticsearch"` | |
| grafana.datasources."datasources.yaml".datasources[2].url | string | `"https://elasticsearch-master:9200"` | |
| grafana.enabled | bool | `true` | |
| grafana.enabled | bool | `false` | |
| grafana.service.nodePort | int | `32004` | |
| grafana.service.port | int | `32004` | |
| grafana.service.type | string | `"NodePort"` | |
Expand Down Expand Up @@ -231,7 +231,7 @@ Depending on the installation you perform, some tasks may be necessary or not. T
| jaeger.agent.enabled | bool | `false` | |
| jaeger.allInOne.enabled | bool | `true` | |
| jaeger.collector.enabled | bool | `false` | |
| jaeger.enabled | bool | `true` | |
| jaeger.enabled | bool | `false` | |
| jaeger.provisionDataStore.cassandra | bool | `false` | |
| jaeger.query.enabled | bool | `false` | |
| jaeger.storage.type | string | `"none"` | |
Expand Down Expand Up @@ -274,17 +274,18 @@ Depending on the installation you perform, some tasks may be necessary or not. T
| opentelemetry-collector.config.exporters.prometheus.send_timestamps | bool | `true` | |
| opentelemetry-collector.config.receivers.jaeger | string | `nil` | |
| opentelemetry-collector.config.receivers.otlp.protocols.grpc | string | `nil` | |
| opentelemetry-collector.config.receivers.otlp.protocols.http | string | `nil` | |
| opentelemetry-collector.config.receivers.prometheus | string | `nil` | |
| opentelemetry-collector.config.service.pipelines.logs.exporters[0] | string | `"elasticsearch/log"` | |
| opentelemetry-collector.config.service.pipelines.logs.exporters[1] | string | `"logging"` | |
| opentelemetry-collector.config.service.pipelines.logs.receivers[0] | string | `"otlp"` | |
| opentelemetry-collector.config.service.pipelines.metrics.exporters[0] | string | `"logging"` | |
| opentelemetry-collector.config.service.pipelines.metrics.exporters[1] | string | `"prometheus"` | |
| opentelemetry-collector.config.service.pipelines.metrics.exporters[0] | string | `"prometheus"` | |
| opentelemetry-collector.config.service.pipelines.metrics.exporters[1] | string | `"logging"` | |
| opentelemetry-collector.config.service.pipelines.metrics.receivers[0] | string | `"otlp"` | |
| opentelemetry-collector.config.service.pipelines.traces.exporters[0] | string | `"otlp/jaeger"` | |
| opentelemetry-collector.config.service.pipelines.traces.exporters[1] | string | `"logging"` | |
| opentelemetry-collector.config.service.pipelines.traces.receivers[0] | string | `"otlp"` | |
| opentelemetry-collector.enabled | bool | `true` | |
| opentelemetry-collector.enabled | bool | `false` | |
| opentelemetry-collector.mode | string | `"deployment"` | |
| opentelemetry-collector.ports.promexp.containerPort | int | `8889` | |
| opentelemetry-collector.ports.promexp.enabled | bool | `true` | |
Expand All @@ -297,7 +298,7 @@ Depending on the installation you perform, some tasks may be necessary or not. T
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| prometheus.alertmanager.enabled | bool | `false` | |
| prometheus.enabled | bool | `true` | |
| prometheus.enabled | bool | `false` | |
| prometheus.kube-state-metrics.enabled | bool | `false` | |
| prometheus.prometheus-node-exporter.enabled | bool | `false` | |
| prometheus.server.persistentVolume.enabled | bool | `false` | |
Expand All @@ -311,9 +312,6 @@ Depending on the installation you perform, some tasks may be necessary or not. T
| rabbitmq.podSecurityContext.enabled | bool | `false` | |
| replicaCount | int | `1` | |
| securityContext | object | `{}` | |
| service.port | int | `8000` | |
| service.tls | list | `[]` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
Expand Down
22 changes: 21 additions & 1 deletion demo/values.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ diracx:
DIRACX_SANDBOX_STORE_BUCKET_NAME: demo-sandboxes
DIRACX_SANDBOX_STORE_S3_CLIENT_KWARGS: '{"endpoint_url": "http://{{ hostname }}:32000", "aws_access_key_id": "console", "aws_secret_access_key": "console123"}'
DIRACX_SANDBOX_STORE_AUTO_CREATE_BUCKET: "true"
DIRACX_OTEL_ENABLED: "true"
DIRACX_OTEL_ENABLED: "{{ open_telemetry }}"
DIRACX_OTEL_GRPC_ENDPOINT: "diracx-demo-opentelemetry-collector:4317"
sqlDbs:
dbs:
Expand Down Expand Up @@ -91,3 +91,23 @@ indigoiam:
groups:
dirac:
user: [jane_doe]


## Open telemetry

opentelemetry-collector:
enabled: {{ open_telemetry }}

elasticsearch:
enabled: {{ open_telemetry }}

jaeger:
enabled: {{ open_telemetry }}

grafana:
enabled: {{ open_telemetry }}

prometheus:
enabled: {{ open_telemetry }}

###
Loading

0 comments on commit b5ce305

Please sign in to comment.