Skip to content

Commit

Permalink
[dash0] improve local k8s deployment
Browse files Browse the repository at this point in the history
Do not report local data to prod, report only to dash0-dev.com.
  • Loading branch information
basti1302 committed Mar 11, 2024
1 parent 0ceb210 commit 87bf8b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/local/dash0-one-ns.yq
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.otelDemo.helm |
.default.image.pullSecrets=[{"name": "regcred"}] |
del(.opentelemetry-collector.config.exporters.otlp/dash0-prod) |
del(.opentelemetry-collector.config.service.pipelines.*.exporters.[] | select(. == "otlp/dash0-prod*") ) |
.opentelemetry-collector.config.processors.resource.attributes[] |= select(.key == "cloud.account.id").value |= "012345678901"
2 changes: 2 additions & 0 deletions kubernetes/local/ns1.yq
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ del(.default.envOverrides) |
.components.recommendationService.enabled=true |
.components.redis.enabled=true |
.components.shippingService.enabled=false |
del(.opentelemetry-collector.config.exporters.otlp/dash0-prod) |
del(.opentelemetry-collector.config.service.pipelines.*.exporters.[] | select(. == "otlp/dash0-prod*") ) |
.opentelemetry-collector.config.processors.resource.attributes[] |= select(.key == "cloud.account.id").value |= "012345678901"
2 changes: 2 additions & 0 deletions kubernetes/local/ns2.yq
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ del(.grafana) |
.jaeger.enabled=false |
.prometheus.enabled=false |
.grafana.enabled=false |
del(.opentelemetry-collector.config.exporters.otlp/dash0-prod) |
del(.opentelemetry-collector.config.service.pipelines.*.exporters.[] | select(. == "otlp/dash0-prod*") ) |
.opentelemetry-collector.config.processors.resource.attributes[] |= select(.key == "cloud.account.id").value |= "012345678901"

0 comments on commit 87bf8b4

Please sign in to comment.