This message was deleted.
# troubleshooting
s
This message was deleted.
g
what emitter are you using & do you notice what kinds of metrics are being emitted?
some of the emitters have configurations for controlling what gets emitted
s
Druid is emitting these metrics... can you please clarify do we need all these metrics and if not how it get rid of these metrics
Copy code
druid_emitted_metrics_histogram_sum
druid_emitted_metrics_histogram_count
druid_emitted_metrics_histogram_bucket
druid_emitted_metrics
we are using grafana
g
which emitter are you using though?
k
In the config of the service you are running check what
druid.emitter
is set as
s
Copy code
druid.emitter=http
@Gian Merlino 👆
g
ah yeah. that one doesn't have an ability to filter: i believe the thought is that the http server receiving the metrics would filter if necessary in your scenario, what's the http server? is it possible to configure filtering there?
s
@Gian Merlino Can you please ping me any docs that how can we perform the filtering on http emitter
And can you please suggest any other emitter i can use
g
if you're using grafana, maybe graphite? that one supports filtering You could also do filtering on the metric collector: whatever is listening to the HTTP emitter, you could set it up to discard certain metrics
s
@Gian Merlino I was using the druid-exporter running as pod which listen to one endpoint on which druid infra is emitting metrics. From druid exporter our prometheus is scraping metrics and we are visualising the dashboards in grafana. We can able to see the data in prometheus for some time and then the prometheus dosent scrape the metrics
k
Also 5-6 Gb of metrics considering your emitter frequency is set to 3 mins means you have a really really big cluster I guess
s
@Karan Kumar Sorry for late response. I had set the --no-histogram option now and the metrics emit size was in MB's now.But still it seems the value is high. can you tell what this option is for --metrics-cleanup-ttl
In the cluster we have 185000 segments.
k
I think you should look at druid compaction : https://druid.apache.org/docs/latest/ingestion/compaction.html
s
To many segments also causes more emission of metrics right @Karan Kumar ?
k
I am not sure about metrics emission but its generally not a good place to be
To have so many segments
s
Okay Thanks @Karan Kumar
🙌 1