Skip to content

Commit

Permalink
Disable logs by default for Splunk Observability destination (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax authored Nov 30, 2021
1 parent 3e343f7 commit 12eb054
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 532 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

[Upgrade
guidelines](https://github.com/signalfx/splunk-otel-collector-chart/blob/main/UPGRADING.md#0380-to-0390)

### Changed

- Upgrade splunk-otel-collector image to 0.39.0 (#322)
- [BREAKING CHANGE] Logs collection is now disabled by default for Splunk
Observability destination (#325)

## [0.38.0] - 2021-11-19

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ render:
--namespace default \
--values rendered/values.yaml \
--output-dir "$$dir" \
--set logsEngine=otel \
--set logsEngine=otel,splunkObservability.logsEnabled=true \
default helm-charts/splunk-otel-collector; \
mv "$$dir"/splunk-otel-collector/templates/* "$$dir"; \
rm -rf "$$dir"/splunk-otel-collector
14 changes: 14 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Upgrade guidelines

## 0.38.0 to 0.39.0

(#325 Logs collection is now disabled by default for Splunk Observability
destination](https://github.com/signalfx/splunk-otel-collector-chart/pull/325)

If you send logs to Splunk Observability destination, make sure to enable logs.
Use `--set="splunkObservability.logsEnabled=true"` argument with helm
install/upgrade command, or add the following line to your custom values.yaml:

```yaml
splunkObservability:
logsEnabled: true
```
## 0.37.1 to 0.38.0
[#297](https://github.com/signalfx/splunk-otel-collector-chart/pull/297),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@ clusterName: fake-cluster
splunkObservability:
realm: fake-realm
accessToken: fake-token

logsEnabled: true
tracesEnabled: false
metricsEnabled: false

splunkPlatform:
endpoint: "fake-endpoint"
token: "fake-token"

index: "main"

logsEnabled: true
metricsEnabled: false

Expand Down
2 changes: 1 addition & 1 deletion helm-charts/splunk-otel-collector/ci/logs-only-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ clusterName: fake-cluster
splunkObservability:
realm: fake-realm
accessToken: fake-token

logsEnabled: true
tracesEnabled: false
metricsEnabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ clusterName: fake-cluster
splunkObservability:
realm: fake-realm
accessToken: fake-token
logsEnabled: true

agent:
config:
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/splunk-otel-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ splunkObservability:
# "https://api.<realm>.signalfx.com".
apiUrl: ""

# Options to disable particular telemetry data types.
logsEnabled: true
# Options to disable or enable particular telemetry data types.
metricsEnabled: true
tracesEnabled: true
logsEnabled: false

################################################################################
# Logs collection engine:
Expand Down
20 changes: 0 additions & 20 deletions rendered/manifests/agent-only/configmap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ data:
correlation: null
ingest_url: https://ingest.CHANGEME.signalfx.com
sync_host_metadata: true
splunk_hec/o11y:
endpoint: https://ingest.CHANGEME.signalfx.com/v1/log
token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
extensions:
health_check: null
k8s_observer:
Expand Down Expand Up @@ -133,8 +130,6 @@ data:
override: false
timeout: 10s
receivers:
fluentforward:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
scrapers:
Expand Down Expand Up @@ -194,21 +189,6 @@ data:
- memory_ballast
- zpages
pipelines:
logs:
exporters:
- splunk_hec/o11y
processors:
- memory_limiter
- groupbyattrs/logs
- k8sattributes
- batch
- filter/logs
- resource
- resource/logs
- resourcedetection
receivers:
- fluentforward
- otlp
metrics:
exporters:
- signalfx
Expand Down
51 changes: 0 additions & 51 deletions rendered/manifests/agent-only/configmap-fluentd-cri.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions rendered/manifests/agent-only/configmap-fluentd-json.yaml

This file was deleted.

Loading

0 comments on commit 12eb054

Please sign in to comment.