Comments (4)
Hello,
The issue at hand is not clear as stated. Could you please better clarify?
The plugin does not aggregates metrics, this is done by the broker itself via the rabbitmq-management
plugin.
You can already customize the dimensions by setting your preferred namespace
configuration value.
from rabbitmq-cloudwatch-exporter.
Hi,
the issue is with the metrics that’s aggregated; so there’s node, and cluster name which are being aggregated. The issue is if there’s an alarm that’s created, the metric filter would include the aggregated metrics so node and cluster would be needed. But the issue comes when the node is replaced, this value (rightfully) would change.
A solution for this would be to use a customer cluster name and custom node name or to remove node value from the aggregated metrics, as the cluster name can be changed.
from rabbitmq-cloudwatch-exporter.
Can you highlight which metrics are you interested in which get aggregated?
What kind of alarms are you trying to set up with CW metric filters?
Are you aware that you can actually set node names yourself via the RABBITMQ_NODENAME
environment variable so they remain static once ASG rotates them?
from rabbitmq-cloudwatch-exporter.
Sure, So I'm creating alarms from the following CW aggregation [Cluster, Limit, Metric, Node, Type]
specifically FileDescriptors (threshold > 30000), but also looking at DiskFree and Memory.
Currently the ASG will replace an instance (mainly for system patching, so this will happen once a month min) and the node hostnames are using what AWS set as the defaults, which is fine. (combination of LAN IP)
The issue I have is that If there's multiple nodes which are in a cluster, the alarms can be aggregated but as the node value is irrelevant; I only care about the cluster name as the above metrics would follow each over across the cluster.
Plus, when creating an alarm. if the filter is set to Cluster name Xyz, FileDescriptors
> 30k, then this would cover all active nodes within the cluster.
if for example I were to use the node name, as this has to be unique it wouldn't work when CW using alarms as if preserving the node name with would conflict with a node which is having is connections drained.
I hope this makes sense. Effectively if there's any scaling actions in an ASG, any CW alarms would all need updating accordingly.
A fix to this would be to enable to removal of the node metric so its not include in the aggregation or to have an additional metric aggregation where this metric is not include.
Also, the cluster name would also need to be customised, but I think this might be defined in RabbitMQ clustering
from rabbitmq-cloudwatch-exporter.
Related Issues (20)
- Error: dependent plugins [goldrush] not found; used by [lager]. HOT 6
- Update plugin configuration in runtime (without a restart) HOT 2
- Metrics not reset (accumulating) HOT 4
- Question: I see that used old style config for node exporter plugin HOT 1
- Error during enable plugin for erlang 21 HOT 3
- fatal: repository 'https://github.com/rabbitmq/rabbitmq-stream-management.git/' not found HOT 3
- Lager failed to install handler lager_cloudwatch_backend into lager_event HOT 8
- getting 'module could not be loaded' string_compat,to_lower in the latest rabbitmq 3.8
- Support for IMDSV2 HOT 5
- Call to undefined function crypto:hmac HOT 6
- Duplicate and dependency errors HOT 4
- Exporting metrics doesn't work anymore after reinstall HOT 13
- Missing dependencies on enabling plugin HOT 5
- CloudWatch routingKey Metrics HOT 3
- cloudwatch exporter - exporting logs issue HOT 5
- No logs published to Cloudwatch HOT 16
- Metrics export not working in ME-south-1 HOT 9
- Logs are not being sent to Cloudwatch
- a
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-cloudwatch-exporter.