Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Cloudwatch dimensions #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tuxpiper
Copy link

I missed the ability of using Cloudwatch dimensions. With the changes, dimensions can be specified in the configuration file, i.e.:

cloudwatch:
{
accessKeyId: 'xxx',
secretAccessKey: 'yyy',
region:"US_EAST_1",
processKeyForNamespace: true,
dimensions:[
{ "Name": "Instance", "Value": "i-2bc24da" }
]
}

Dimensions can also be specified in the statistic name:

Namespace.__dimension1_value1.__dimension2_value2.latency:300|ms

Additionally, a string may be provided to the "processKeyForNamespace" option, so instead of splitting the stat name as usual, the provided string will be used for building another regexp that will be used for splitting.

@camitz
Copy link
Owner

camitz commented Feb 11, 2013

I do beg your pardon, I've completely missed this pull request! I agree, dimensions are a priority. I'm just not sure the format is ideal. Also I'm sure your code could be clearer. I'll take a look at it soon.

@jotes
Copy link

jotes commented Sep 7, 2015

@camitz hi, do you plans to merge this pr?

@camitz
Copy link
Owner

camitz commented Sep 7, 2015

At the moment there are conflicts with some recent pulls. Also I'm not confortable with the suggested string format. I would prefer being able to do this:

App.Controller.Action.Request.donuts:sprinkled.carpet:striped:1|c

@tuxpiper
Copy link
Author

Thank you for the interest in this PR. @camitz 's concerns are very valid. However, unfortunately, I am not planning to put any time on this for the time being.

@jotes
Copy link

jotes commented Sep 13, 2015

@camitz @tuxpiper i can look and refresh this PR a bit if you both agree.

@camitz
Copy link
Owner

camitz commented Sep 13, 2015

You have my sincerest blessing!

@tuxpiper
Copy link
Author

Absolutely @jotes , go forth!

camitz pushed a commit that referenced this pull request Oct 8, 2016
send accumulated metrics as an array instead of one at a time... save…
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.

3 participants