click-to-deploy icon indicating copy to clipboard operation
click-to-deploy copied to clipboard

RabbitMQ Stackdriver integration cost

Open yrunts opened this issue 5 years ago • 2 comments

Category:

Kubernetes apps https://console.cloud.google.com/marketplace/details/google/rabbitmq?q=rabbitmq

Type:

  • [ ] Bug
  • [x] Feature Request
  • [ ] Process

After enabling 'Export metrics to Stackdriver' ingestion rate for rabbitmq/erlang_vm_allocators is approximately 75B/s. In my case, rabbitmq cluster with 3 replicas, ingested almost 1GB per month, and in cost around 300EUR.

Maybe it is worth to notify users about additional costs when enabling Enable Stackdriver Metrics Exporter in Marketplace?

yrunts avatar Jun 06 '20 07:06 yrunts

Got the same "surprise" on the bill. Probably a bug, there is plenty of metrics reported, this rabbitmq/erlang_vm_allocators is far above the other ones (around 16MB/day for 3 instances)

rabbitmq :arrow_up: the blue line

PuKoren avatar Jun 17 '20 09:06 PuKoren

I am noticing this too, oddly enough my erlang_vm_allocators Metric bytes ingested graph looks like a strong heartbeat which resembles what mine did when my bill went up dramatically after enabling metrics.

image

This one is sitting at 49.07 B/s of metrics, down from 73 B/s after removing one rabbitmq instance from the cluster. That's a lot of metrics for what I assume to be a small allocator.

Is there any way to selectively disable metrics ingestion for this service?? I want to use stackdriver but not this much.

napei avatar Jul 18 '20 10:07 napei

At first I checked if rabbitmq_prometheus plugin supports filtering. Unfortunately not. https://github.com/rabbitmq/rabbitmq-server/discussions/2739 Next i tried to use prometheus-to-sd whitelist feature, but it seems like it requires the exact name of the metric, so for example whitelisted=rabbitmq_ or whitelisted=rabbitmq_* doesnt work. The only way I see here is to use some external tool that will work between rabbitmq exporter and prometheus-to-sd and filter metrics by mask. Screenshot 2022-12-02 10 49 07 AM

ganochenkodg avatar Dec 02 '22 10:12 ganochenkodg