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

Fix the target pid of oomkill example, expose metrics by default #91

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

krisztianfekete
Copy link
Contributor

This PR

  • fixes getting the target PID in the oomkill example by using BPF_CORE_READ(oc, chosen, tgid) instead of getting the current pid
  • enables exposing the events as metrics by default, so people can just pull/use the upstream image. The cardinality of the labels in this case is low, so I think this is a sensible default.

@soloio-bulldozer soloio-bulldozer bot merged commit d824192 into solo-io:main Dec 9, 2022
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.

2 participants