Skip to content

Conversation

@afrase
Copy link

@afrase afrase commented Dec 19, 2023

Currently there is only a singular customizable dimension added to the metrics. The readme suggests changing the value to your app name like App:demo-web-puma but if you have a staging and production environment in the same region you can't tell the metrics apart.

This PR adds a environment dimension set to puma's environment or whatever PUMA_CLOUDWATCH_ENVIRONMENT is set to if you want to override it. I also fixed the fetcher and sender specs so they pass on a fresh setup.

* Added an extra dimension for the name of the environment puma is currently configured for. Made this overridable with an environment variable.
* Fixed fetcher spec to use the expected unix socket.
* Updated and fixed sender spec metric data.
@rnhurt
Copy link

rnhurt commented Apr 10, 2025

I think this issue has been resolved by #16.

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