Skip to content

Conversation

@kaiyan-sheng
Copy link
Contributor

Description

This PR refactors the pkg/translator/azurelogs/testdata directory to improve organization and consistency, and corrects a category name to match actual Azure log data.

Changes:

  • Combined all appservice*logs directories into a single appservicelog directory.
  • Combined corner case directories (badlevel, badtime, maximum, minimum, minimum2) into a single cornercases directory.
  • Renamed azurecdnaccesslog to cdnaccesslog.
  • Standardized filenames by removing log- prefix from JSON files and use _expected.yaml suffix instead of -expected.yaml.
  • Use -log instead of -logs

Link to tracking issue

N/A

Testing

Changed the existing resourcelogs_to_logs_test.go.

@kaiyan-sheng kaiyan-sheng marked this pull request as ready for review November 20, 2025 20:45
@kaiyan-sheng kaiyan-sheng requested review from a team and atoulme as code owners November 20, 2025 20:45
@atoulme atoulme merged commit d80a691 into open-telemetry:main Nov 21, 2025
194 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 21, 2025
@otelbot
Copy link
Contributor

otelbot bot commented Nov 21, 2025

Thank you for your contribution @kaiyan-sheng! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. If you are getting started contributing, you can also join the CNCF Slack channel #opentelemetry-new-contributors to ask for guidance and get help.

emreyalvac pushed a commit to emreyalvac/opentelemetry-collector-contrib that referenced this pull request Nov 21, 2025
…emetry#44436)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR refactors the `pkg/translator/azurelogs/testdata` directory to
improve organization and consistency, and corrects a category name to
match actual Azure log data.

Changes:
- Combined all appservice*logs directories into a single appservicelog
directory.
- Combined corner case directories (badlevel, badtime, maximum, minimum,
minimum2) into a single `cornercases` directory.
- Renamed azurecdnaccesslog to cdnaccesslog.
- Standardized filenames by removing `log-` prefix from JSON files and
use `_expected.yaml` suffix instead of `-expected.yaml`.
- Use `-log` instead of `-logs`

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
N/A

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Changed the existing `resourcelogs_to_logs_test.go`.
@kaiyan-sheng kaiyan-sheng deleted the chore/azure_cdn branch November 21, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants