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

L3AFD metric for ebpf program update command failure count #283

Merged

Conversation

Atul-source
Copy link
Contributor

A new metric is added to track Update failures of eBPF Function. This PR fixes the issue reported in #282

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
sanfern
sanfern previously approved these changes Sep 25, 2023
Copy link
Contributor

@sanfern sanfern left a comment

Choose a reason for hiding this comment

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

LGTM

@sanfern sanfern linked an issue Sep 26, 2023 that may be closed by this pull request
stats/metrics.go Outdated
prometheus.CounterOpts{
Namespace: daemonName,
Name: "NFUpdateFailedCount",
Help: "The count of Failed network functions updates",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't use the term "network function"

stats/metrics.go Outdated
Name: "NFUpdateFailedCount",
Help: "The count of Failed network functions updates",
},
[]string{"host", "ebpf_program", "direction", "interface_name"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

why "ebpf_program" instead of "bpf_program"?

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
Copy link
Contributor

@sanfern sanfern left a comment

Choose a reason for hiding this comment

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

LGTM

@sanfern sanfern merged commit 5046af9 into l3af-project:main Oct 4, 2023
7 checks passed
sanfern pushed a commit to sanfern/l3afd that referenced this pull request Oct 24, 2023
…ect#283)

* L3AFD metric for ebpf program update command failure count

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
sanfern pushed a commit to sanfern/l3afd that referenced this pull request Oct 24, 2023
…ect#283)

* L3AFD metric for ebpf program update command failure count

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
Signed-off-by: sferna1 <santhosh.fernandes@gmail.com>
Atul-source added a commit to Atul-source/l3afd that referenced this pull request Nov 28, 2023
…ect#283)

* L3AFD metric for ebpf program update command failure count

Signed-off-by: Atul-source <atulprajapati6031@gmail.com>
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.

L3AFD metric for ebpf program update command failure count
3 participants