Skip to content

Commit

Permalink
fix: cluster agent log level
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Aug 29, 2024
1 parent aeca198 commit 49f60c2
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 5 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.99 / 2024-08-29
- [Fix] Change central-agent-values.yaml log level to warn
- [Fix] Turn off k8sattributes preset for central collector cluster

### v0.0.98 / 2024-08-29
- [Feat] Add a way to deploy central collector cluster for tail sampling

Expand Down
2 changes: 1 addition & 1 deletion 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.98
version: 0.0.99
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand Down
2 changes: 1 addition & 1 deletion otel-integration/k8s-helm/central-agent-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ global:
clusterName: ""
defaultApplicationName: "otel"
defaultSubsystemName: "integration"
logLevel: "debug"
logLevel: "warn"
collectionInterval: "30s"
version: "0.0.97"

Expand Down
36 changes: 33 additions & 3 deletions 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.98"
version: "0.0.99"

extensions:
kubernetesDashboard:
Expand Down Expand Up @@ -684,6 +684,21 @@ opentelemetry-gateway:
service:
enabled: true
clusterIP: "None"
clusterRole:
name: "coralogix-opentelemetry-gateway"
create: true
clusterRoleBinding:
name: "coralogix-opentelemetry-gateway"
rules:
- apiGroups: [""]
resources: ["pods", "namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["apps"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
extraEnvs:
- name: CORALOGIX_PRIVATE_KEY
valueFrom:
Expand All @@ -701,7 +716,7 @@ opentelemetry-gateway:
agentType: "gateway"
clusterName: "{{.Values.global.clusterName}}"
kubernetesAttributes:
enabled: true
enabled: false
metadata:
enabled: true
clusterName: "{{.Values.global.clusterName}}"
Expand Down Expand Up @@ -852,6 +867,21 @@ opentelemetry-receiver:
fullnameOverride: coralogix-opentelemetry-receiver
service:
enabled: true
clusterRole:
name: "coralogix-opentelemetry-gateway"
create: true
clusterRoleBinding:
name: "coralogix-opentelemetry-gateway"
rules:
- apiGroups: [""]
resources: ["pods", "namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["apps"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources: ["replicasets"]