Skip to content

Adjusting default otel configuration to the current stable - #555

Open
mtblz wants to merge 1 commit into
masterfrom
otel-config-update
Open

mtblz wants to merge 1 commit into
masterfrom
otel-config-update

Conversation

@mtblz

@mtblz mtblz commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

This PR brings the configuration of the OTEL plugin to the newer format.

@mtblz
mtblz requested review from a team and ilyam8 as code owners October 29, 2026 14:40
@mtblz
mtblz requested a review from witalisoft October 29, 2026 14:40
Comment thread charts/netdata/values.yaml Outdated
Comment on lines +1075 to +1077
retention:
default:
max_total_size: 10GB

@vkalintiris vkalintiris Oct 29, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be something like this because logs/traces haves separate retention configuration values:

endpoint:
    path: {{ printf "\"0.0.0.0:%v\"" .Values.netdataOpentelemetry.service.port }}
  logs:
    retention:
      default:
        max_total_size: "5GB"
  traces:
    retention:
      default:
        max_total_size: "5GB"

I'd expect us to have more users trying to use this for logs, rather than traces. I would change the default allocation to 9GB for logs and 1GB for traces, but I'll leave this up to you.

@mtblz
mtblz force-pushed the otel-config-update branch 2 times, most recently from c9551a9 to 30c3968 Compare October 29, 2026 14:52
Comment thread charts/netdata/values.yaml Outdated
duration_of_journal_files: "7 days"
duration_of_journal_file: "2 hours"
store_otlp_json: false
retention:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path is logs.retention.default.max_total_size, ie. not retention.default.max_total_size.

@mtblz
mtblz force-pushed the otel-config-update branch from 30c3968 to 46e4c07 Compare October 29, 2026 14:55
@mtblz
mtblz requested a review from vkalintiris October 29, 2026 14:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants