Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some default settings for beyla network metrics #1112

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions charts/beyla/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,21 @@ config:
attributes:
kubernetes:
enable: true
select:
beyla_network_flow_bytes:
include:
- 'k8s.src.owner.type'
- 'k8s.dst.owner.type'
- 'direction'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We actually need the cluster name, owner name and namespaces too, but I saw in the documentation they are already on by default, so the list here is just the additional attributes Asserts uses.

Alternatively belya can also make them available by default, so we don't need to have set them here.

filter:
network:
k8s_dst_owner_name:
not_match: '{kube*,*jaeger-agent*,*prometheus*,*promtail*,*grafana-agent*}'
k8s_src_owner_name:
not_match: '{kube*,*jaeger-agent*,*prometheus*,*promtail*,*grafana-agent*}'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are k8s infra and monitoring components that has many connections, but not quite useful for o11y use cases, so we are suggesting to exclude them by default.

# to enable network metrics
# network:
# enable: true
prometheus_export:
port: 9090
path: /metrics
Expand Down
Loading