Skip to content

Conversation

jtcorbett
Copy link
Contributor

@jtcorbett jtcorbett commented Sep 8, 2025

TL;DR

Updated the OTEL logger configuration structure and added the configure command to the cloud logger command group.

What changed?

  • Updated the OTEL configuration structure to use a nested otlp_settings object that contains endpoint and headers
  • Added backward compatibility to support the old configuration format
  • Enhanced the health check endpoint detection to handle both /v1/traces and /v1/logs paths
  • Added additional OTEL configuration parameters: enabled flag and exporters list
  • Fixed the example in the help text to use /v1/traces instead of /v1/logs
  • Registered the configure_logger command under the cloud logger command group

How to test?

  1. Test the new configuration format:
  2. Test with custom headers:
  3. Test the current configuration:

Copy link

coderabbitai bot commented Sep 8, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 09-08-add_cloud_logger_configure

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jtcorbett jtcorbett force-pushed the 09-08-add_cloud_logger_configure branch from a75772d to b9b0d6c Compare September 9, 2025 19:03
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