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

Extend Pixie's Otel export to support histograms #1968

Open
ddelnano opened this issue Jul 19, 2024 · 1 comment
Open

Extend Pixie's Otel export to support histograms #1968

ddelnano opened this issue Jul 19, 2024 · 1 comment

Comments

@ddelnano
Copy link
Member

ddelnano commented Jul 19, 2024

Pixie is designed with the idea that high visibility telemetry should remain on the edge. While that's the case, its still possible and encouraged to use our Open Telemetry export feature to co-locate Pixie's data source with other data making it possible to integrate Pixie's data source into other systems. Despite this being useful, exporting the spans as they exist within the data tables diverges a bit from Pixie's philosophy -- it results in transmitting a large number of spans to central storage.

One common use case for service observability is monitoring the p75, p95, p99 of a service. This is very common on per service dashboards and are often used for SLOs and other alerting. It would be great if Pixie had the primitives for exporting summarized views to power experiences like this without exporting all of the spans. This would yield the best of both worlds -- unaggregated data would be accessible via Pixie's in memory store and the histograms would be persisted in the observability backend.

Computing these percentiles accurately is expensive since the backend store must query the unaggregated data points to perform the computation. Rather than computing these at read time, Pixie's edge processing could extend its Otel export to create cluster wide, per-service Otel histograms. Not only does this save on storage costs, but it also reduces load on the metrics backend and network transfer by serving a fraction of what would normally need to be processed.

@kpattaswamy
Copy link
Member

+1 to this, I believe a feature to add scalar args (in order to pass the number of buckets/scale from Pxl) would also be needed to add the explicit/exponential histogram UDAs to carnot

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

2 participants