-
Notifications
You must be signed in to change notification settings - Fork 325
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
[metrics]: elasticache redis with tags #748
Comments
so I have worked out that
The tag value, needs to be a list.. So that is the error, but even with this configuration. I don't get any metrics. |
I think you also have a typo there, or is your tag actually `Environemnt`?
…On Mon, 21 Oct 2024, 07:19 Jürgen W, ***@***.***> wrote:
so I have worked out that
- aws_dimensions:
- CacheNodeId
- CacheClusterId
aws_metric_name: EngineCPUUtilization
aws_namespace: AWS/ElastiCache
aws_statistics:
- Average
aws_tag_select:
tag_selections:
Environemnt:
- ${cluster.name}
resource_type_selection: 'elasticache:replication-group'
resource_id_dimension: CacheClusterId
The tag value, needs to be a list.. So that is the error, but even with
this configuration. I don't get any metrics.
—
Reply to this email directly, view it on GitHub
<#748 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABAEBSMRQ6BUH3Z6JQPMVLZ4SFH5AVCNFSM6AAAAABPGYHNJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGYYTENBYG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
argh, n1..... That found, it still doesn't work. :\ |
Ok, looking into this more, it seems the 'resource_type_selection' is 'replicationgroup', not 'replication-group'. As I have a few of these runnings and the former returns this metric;
But, I do not have the EngineCPUUtilization metric in the endpoint. |
So tried changing the resource_id_dimension; without succes. So this is what I have right now:
|
I don't know if this is a bug or not, but I changed source _id_dimension to 'CacheClusterId,CacheNodeId'. the metric; 'aws_resource_info' shows just the taged instances, but the metric 'aws_elasticache_engine_cpuutilization_average' shows/has metrics for instances that do not have the correct Environment tag value, but it is finally there now. |
Context information
Exporter configuration
Exporter logs
What do you expect to happen?
I expect to see metrics for the redis instances that have the tag
What happened instead?
I get that error in a loop
Other comments
I have tried many iterations of the config to work out what it needs to be, if I removed the tag select it works fine. examples include;
Or
and every iteration of the above
The text was updated successfully, but these errors were encountered: