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

New component: otlptest #28559

Closed
2 tasks
atoulme opened this issue Oct 24, 2023 · 3 comments
Closed
2 tasks

New component: otlptest #28559

atoulme opened this issue Oct 24, 2023 · 3 comments
Labels
Sponsor Needed New component seeking sponsor

Comments

@atoulme
Copy link
Contributor

atoulme commented Oct 24, 2023

The purpose and use-cases of the new component

We have the need to test our compliance with otlp. We would like to offer the creation of a toolkit that any implementor of the otlp protocol can use to perform checks against the protocol:

  • Testing against HTTP/gRPC variants
  • Testing JSON deserialization

We also want to check compliance when sending OTLP data. We want to cover every other edge case of data ingestion with OTLP data such as:

  • Gauges with no data points
  • Histograms with no buckets
  • Histograms with many buckets
  • Histograms with invalid buckets

We would like to make this an extensible framework. The assertion is left to the implementor, we will create the test case and offer a way to point data to an endpoint.

Example configuration for the component

It's unclear how this component would work - we can make it a series of test cases, which can be partially implemented.

Telemetry data types supported

metrics would be first tested.

Is this a vendor-specific component?

  • This is a vendor-specific component
  • If this is a vendor-specific component, I am proposing to contribute and support it as a representative of the vendor.

Code Owner(s)

atoulme

Sponsor (optional)

No response

Additional context

No response

@atoulme atoulme added Sponsor Needed New component seeking sponsor needs triage New item requiring triage labels Oct 24, 2023
@bryan-aguilar
Copy link
Contributor

Would you envision this being similar to Prometheus compliance tests?

@atoulme
Copy link
Contributor Author

atoulme commented Oct 26, 2023

Would you envision this being similar to Prometheus compliance tests?

Sure, certainly seems like it has similar intent.

Maybe this repository is not the right place for this initiative btw.

@atoulme
Copy link
Contributor Author

atoulme commented Jan 18, 2024

https://github.com/atoulme/otlptest is a thing now. I'll close here and open a new issue with community to see if there's interest to contribute this to OpenTelemetry.

@atoulme atoulme closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sponsor Needed New component seeking sponsor
Projects
None yet
Development

No branches or pull requests

2 participants