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 UDF to Access Node Labels in Pixie Scripts #2099

Open
srimaln91 opened this issue Jan 28, 2025 · 0 comments
Open

Add UDF to Access Node Labels in Pixie Scripts #2099

srimaln91 opened this issue Jan 28, 2025 · 0 comments

Comments

@srimaln91
Copy link

I have a use case where I need to capture the Rx and Tx bytes for each Kubernetes pod and export this data using OTEL exporter plugin. While Pixie provides good visibility into network metrics, I am currently unable to access node labels in Pixie scripts. This limitation makes it difficult to correlate pod network metrics with node-level metadata, which is critical for my use case.

It would be super helpful if we can have a User-Defined Function (UDF) to access node labels directly within Pixie scripts. This would allow enriching the captured metrics with node-level metadata (e.g., node roles, availability zones, or custom labels) and provide more context when exporting data via OTEL.

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

No branches or pull requests

1 participant