Skip to content

Commit

Permalink
[otel-integration] add service.version to dbMetrics and spanMetrics (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv authored Dec 19, 2024
1 parent 4d34383 commit 08b09f2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
4 changes: 4 additions & 0 deletions otel-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## OpenTelemtry-Integration

### v0.0.126 / 2024-12-19

- [Feat] add service.version to spanMetrics and dbMetrics

### v0.0.125 / 2024-12-12

- [Feat] allow deploying of coralogix-ebpf-agent with existing collector
Expand Down
12 changes: 6 additions & 6 deletions otel-integration/k8s-helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: otel-integration
description: OpenTelemetry Integration
version: 0.0.125
version: 0.0.126
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand All @@ -11,27 +11,27 @@ keywords:
dependencies:
- name: opentelemetry-collector
alias: opentelemetry-agent
version: "0.99.0"
version: "0.100.0"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent.enabled
- name: opentelemetry-collector
alias: opentelemetry-agent-windows
version: "0.99.0"
version: "0.100.0"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent-windows.enabled
- name: opentelemetry-collector
alias: opentelemetry-cluster-collector
version: "0.99.0"
version: "0.100.0"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-cluster-collector.enabled
- name: opentelemetry-collector
alias: opentelemetry-receiver
version: "0.99.0"
version: "0.100.0"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-receiver.enabled
- name: opentelemetry-collector
alias: opentelemetry-gateway
version: "0.99.0"
version: "0.100.0"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-gateway.enabled
- name: coralogix-ebpf-agent
Expand Down
8 changes: 7 additions & 1 deletion otel-integration/k8s-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
defaultSubsystemName: "integration"
logLevel: "warn"
collectionInterval: "30s"
version: "0.0.125"
version: "0.0.126"

extensions:
kubernetesDashboard:
Expand Down Expand Up @@ -138,12 +138,18 @@ opentelemetry-agent:
collectionInterval: "{{.Values.global.collectionInterval}}"
spanMetrics:
enabled: false
# Configures collector to add service.version to spanMetrics dimensions
serviceVersion:
enabled: true
# transformStatements:
# - set(attributes["http.response.status_code"], attributes["http.status_code"]) where attributes["http.response.status_code"] == nil
errorTracking:
enabled: true
dbMetrics:
enabled: true
# Configures collector to add service.version to spanMetrics dimensions
serviceVersion:
enabled: true
# transformStatements:
# - set(attributes["db.namespace"], attributes["db.name"]) where attributes["db.namespace"] == nil
# - set(attributes["db.namespace"], attributes["server.address"]) where attributes["db.namespace"] == nil
Expand Down

0 comments on commit 08b09f2

Please sign in to comment.