Skip to content

Commit

Permalink
Merge pull request #544 from solarwinds/bugfix/NH-71043-fixCollectorO…
Browse files Browse the repository at this point in the history
…nFargate

NH-71043: Fix Node collector when autodiscovery is enabled on Fargate cluster
  • Loading branch information
pstranak-sw authored Jan 23, 2024
2 parents d1284aa + 7abdb88 commit 9ec54f3
Show file tree
Hide file tree
Showing 6 changed files with 1,097 additions and 3 deletions.
6 changes: 6 additions & 0 deletions deploy/helm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [3.2.0-alpha.16] - 2024-01-22

### Fixed

- Fixed restarts of the collector when automatic discovery and scraping of prometheus endpoints (`otel.metrics.autodiscovery.prometheusEndpoints.enabled`) was enabled on a Fargate environment

## [3.2.0-alpha.15] - 2024-01-17

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: swo-k8s-collector
version: 3.2.0-alpha.15
version: 3.2.0-alpha.16
appVersion: "0.9.2"
description: SolarWinds Kubernetes Integration
keywords:
Expand Down
2 changes: 2 additions & 0 deletions deploy/helm/node-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,8 @@ service:
- resource/all
receivers:
- receiver_creator/node
{{- end }}
{{- if and .Values.otel.metrics.enabled (or (not .Values.aws_fargate.enabled) .Values.otel.metrics.autodiscovery.prometheusEndpoints.enabled) }}
metrics:
exporters:
- otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Fargate logging ConfigMap spec should include additional filters when they are c
Match *
Add sw.k8s.cluster.uid <CLUSTER_UID>
Add sw.k8s.log.type container
Add sw.k8s.agent.manifest.version "3.2.0-alpha.15"
Add sw.k8s.agent.manifest.version "3.2.0-alpha.16"
flb_log_cw: "false"
output.conf: |
[OUTPUT]
Expand Down Expand Up @@ -64,7 +64,7 @@ Fargate logging ConfigMap spec should match snapshot when Fargate logging is ena
Match *
Add sw.k8s.cluster.uid <CLUSTER_UID>
Add sw.k8s.log.type container
Add sw.k8s.agent.manifest.version "3.2.0-alpha.15"
Add sw.k8s.agent.manifest.version "3.2.0-alpha.16"
flb_log_cw: "false"
output.conf: |
[OUTPUT]
Expand Down
Loading

0 comments on commit 9ec54f3

Please sign in to comment.