Skip to content

feat: Add configurable metrics publishing with opt-in approach#55

Open
juanlb wants to merge 1 commit into
sj26:mainfrom
juanlb:main
Open

feat: Add configurable metrics publishing with opt-in approach#55
juanlb wants to merge 1 commit into
sj26:mainfrom
juanlb:main

Conversation

@juanlb

@juanlb juanlb commented Sep 10, 2025

Copy link
Copy Markdown
  • Add MetricsConfig class for selective metric enabling
  • Support configuration via configure block with enable_metric(s) methods
  • Maintain backward compatibility (all metrics enabled by default)
  • Add startup logging of active metrics configuration
  • Update README with comprehensive configuration examples
  • Include tests for new configuration functionality

The gem is great, but it don't let me select which metrics send to AWS.
So I was paying (a lot) for metrics I don't need.
This PR fix that, I'm already using it in production.

- Add MetricsConfig class for selective metric enabling
- Support configuration via configure block with enable_metric(s) methods
- Maintain backward compatibility (all metrics enabled by default)
- Add startup logging of active metrics configuration
- Update README with comprehensive configuration examples
- Include tests for new configuration functionality
@erimicel

Copy link
Copy Markdown

Would be great to have this options 🙏 are we planning to add this feature?

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.

2 participants