Skip to content

Commit

Permalink
lower data mode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
csongnr committed Sep 20, 2024
1 parent ddd7eb1 commit 362fe3e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 14 deletions.
4 changes: 1 addition & 3 deletions charts/nr-k8s-otel-collector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.5
version: 0.7.6

dependencies:
- name: common-library
Expand All @@ -35,8 +35,6 @@ dependencies:
appVersion: "0.7.1"

maintainers:
- name: juanjjaramillo
url: https://github.com/juanjjaramillo
- name: csongnr
url: https://github.com/csongnr
- name: dbudziwojskiNR
Expand Down
30 changes: 19 additions & 11 deletions charts/nr-k8s-otel-collector/templates/daemonset-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,18 @@ data:
metrics:
system.network.connections:
enabled: false
processes:
process:
metrics:
process.cpu.utilization:
enabled: true
process.cpu.time:
enabled: false
mute_process_name_error: true
mute_process_exe_error: true
mute_process_io_error: true
mute_process_user_error: true
# Uncomment to enable process metrics, which can be noisy but valuable.
# processes:
# process:
# metrics:
# process.cpu.utilization:
# enabled: true
# process.cpu.time:
# enabled: false
# mute_process_name_error: true
# mute_process_exe_error: true
# mute_process_io_error: true
# mute_process_user_error: true
kubeletstats:
collection_interval: {{ .Values.receivers.kubeletstats.scrapeInterval }}
Expand Down Expand Up @@ -535,16 +536,21 @@ data:
limit_percentage: 80
spike_limit_percentage: 25
cumulativetodelta:
batch:
send_batch_max_size: 1000
timeout: 30s
send_batch_size : 800
exporters:
otlphttp/newrelic:
endpoint: {{ include "nrKubernetesOtel.endpoint" . }}
headers:
api-key: ${env:NR_LICENSE_KEY}
logging:
verbosity: detailed
# TODO(chris): revisit using the gateway collector
# otlphttp:
# endpoint: "nr-k8s-otel-collector-gateway"
Expand Down Expand Up @@ -601,9 +607,11 @@ data:
- k8sattributes
- attributes/self
- memory_limiter
- cumulativetodelta
- batch
exporters:
- otlphttp/newrelic
- logging
{{- end }}
{{- if .Values.receivers.filelog.enabled }}
logs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ data:
- key: net.host.port
action: delete
cumulativetodelta:
k8sattributes:
auth_type: "serviceAccount"
passthrough: false
Expand Down Expand Up @@ -515,6 +517,8 @@ data:
endpoint: {{ include "nrKubernetesOtel.endpoint" . }}
headers:
api-key: ${env:NR_LICENSE_KEY}
logging:
verbosity: detailed
service:
{{- if include "newrelic.common.verboseLog" . }}
telemetry:
Expand Down Expand Up @@ -567,9 +571,11 @@ data:
- k8sattributes
- attributes/self
- memory_limiter
- cumulativetodelta
- batch
exporters:
- otlphttp/newrelic
- logging
{{- end }}
# TODO(chris): revisit using the gateway collector
# logs:
Expand Down

0 comments on commit 362fe3e

Please sign in to comment.