Skip to content

Add test for otlp publishing components#725

Draft
Paamicky wants to merge 1 commit into
mainfrom
mcommey/otlp-integration-tests
Draft

Add test for otlp publishing components#725
Paamicky wants to merge 1 commit into
mainfrom
mcommey/otlp-integration-tests

Conversation

@Paamicky

Copy link
Copy Markdown
Contributor

Description of the issue

Integration testing gaps exist for OTel components publishing to the OTLP endpoint across multiple platforms. Specifically: Windows, on-prem, and ECS have no coverage for OTLP, Prometheus, or Host Metrics.Also, new features (root-level cluster_name, collection_interval standardization, Prometheus $1/${1} escape) need integration test coverage.

Description of changes

  • Restructured otel_collect/ tests into linux/ and windows/ subdirectories for consistent platform organization
  • Added Windows integration tests for OTLP, Host Metrics, and Prometheus using the validator pattern
  • Added OTLP, Host Metrics, and Prometheus to on-prem (ec2_linux_onprem) test matrix
  • Added OTLP, Host Metrics, and Prometheus to ECS (ecs_ec2_daemon) test matrix
  • Updated all agent configs to include cluster_name and collection_interval for new feature validation
  • Added $1 and ${1} relabel configs to Prometheus scrape configs to validate dollar escape handling
  • Updated generator entries and partition exclusions to reflect new directory structure

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

  • All generator code compiles
  • All Linux test code compiles
  • Tests cover: EC2 Linux, Windows, on-prem, ECS, and EKS (existing) platforms
  • Features validated: OTLP endpoint publishing, cluster_name propagation, collection_interval, Prometheus $1/${1} escape
  • integration test here:

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