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

chore(parametric): validate telemetry schema #4076

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dmehala
Copy link
Contributor

@dmehala dmehala commented Feb 12, 2025

Motivation

While investigating invalid telemetry payloads for C++ and decided to solve the issue with [this PR], I decided to go the extra mile. Since I wasn't confident in my ability to assess whether telemetry payload generate by the tracer conforms to the telemetry schema, I decided to implement a validation step for system-tests using jsonschema.

Fortunately, the talented engineers at ASM had already written the schemas, which greatly helped in this process.

Changes

  • Added TelemetryV2Validator class to validate telemetry v2 schema.
  • Updated parametric/test_telemetry.py tests suite to integrate the validator.
  • Addressed inconsistencies and fixed tests that did not conform to the telemetry schema.

@dmehala dmehala force-pushed the dmehala/parametric-telemetry-validation branch 2 times, most recently from af09854 to 0a25ba9 Compare February 13, 2025 12:07
This commit add telemetry schema validation for parametric tests.

Changes:
  - Update test to enforce values for configuration telemetry.
  - Disable some tests for golang and nodejs.
@dmehala dmehala force-pushed the dmehala/parametric-telemetry-validation branch from 0a25ba9 to b81bab6 Compare February 13, 2025 14:52
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.

1 participant