You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "layoaster (via GitHub)" <gi...@apache.org> on 2023/05/09 11:12:12 UTC

[GitHub] [druid] layoaster opened a new issue, #14234: `ingest/*` metrics not emitted with Prometheus Emitter

layoaster opened a new issue, #14234:
URL: https://github.com/apache/druid/issues/14234

   ### Affected Version
   0.23.0
   
   ### Description
   
   I've setup the Prometheus Emitter (along with the `http`) to export metrics to my Prometheus. However, the metrics[ `ingest/*`](https://druid.apache.org/docs/0.23.0/operations/metrics.html#other-ingestion-metrics) are not emitted/populated in Prometheus. Curiously enough, I get the metrics `ingest/kafka/*` properly reported.
   
   My cluster has 6 MiddleManagers (with Peons) and periodic batch ingestion tasks  (`index_parallel`) scheduled.
   
   Here is my metrics-related [configuration](https://gist.github.com/layoaster/929d7c722068e4414146c843cc900ce1).  I don't see any error messages on Druid logs and this is the corresponding metric mapping.
   
   ```json
   {
       "ingest/events/thrownAway" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of events rejected because they are outside the windowPeriod."},
       "ingest/events/unparseable" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of events rejected because the events are unparseable." },
       "ingest/events/duplicate" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of events rejected because the events are duplicated."},
       "ingest/events/processed" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of events successfully processed per emission period." },
       "ingest/events/messageGap" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "gauge", "help": "Time gap in milliseconds between the latest ingested event timestamp and the current system timestamp of metrics emission."},
       "ingest/rows/output" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of Druid rows persisted."},
       "ingest/persists/count" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of times persist occurred." },
       "ingest/persists/time" : { "dimensions" : ["dataSource"], "type" : "timer", "conversionFactor": 1000.0, "help": "Seconds spent doing intermediate persist."},
       "ingest/persists/cpu" : { "dimensions" : ["dataSource"], "type" : "timer", "conversionFactor": 1000000000.0, "help": "Cpu time in Seconds spent on doing intermediate persist." },
       "ingest/persists/backPressure" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "gauge", "help": "Seconds spent creating persist tasks and blocking waiting for them to finish." },
       "ingest/persists/failed" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of persists that failed." },
       "ingest/handoff/failed" : { "dimensions" : ["dataSource", "taskId", "taskType"], "type" : "count", "help": "Number of handoffs that failed." },
       "ingest/merge/time" : { "dimensions" : ["dataSource"], "type" : "timer", "conversionFactor": 1000.0, "help": "Seconds spent merging intermediate segments" },
       "ingest/merge/cpu" : { "dimensions" : ["dataSource"], "type" : "timer", "conversionFactor": 1000000000.0, "help": "Cpu time in Seconds spent on merging intermediate segments."}
   }
   ```
   
   Not really sure if I'm doing something wrong or those metrics are not reported for native batch ingestion tasks. Lastly, I wonder if there is any metric that reports the current `status` of the Kafka supervisors
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] `ingest/*` metrics not emitted with Prometheus Emitter (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #14234:
URL: https://github.com/apache/druid/issues/14234#issuecomment-1962164463

   This issue has been marked as stale due to 280 days of inactivity.
   It will be closed in 4 weeks if no further activity occurs. If this issue is still
   relevant, please simply write any comment. Even if closed, you can still revive the
   issue at any time or discuss it on the dev@druid.apache.org list.
   Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] `ingest/*` metrics not emitted with Prometheus Emitter (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #14234: `ingest/*` metrics not emitted with Prometheus Emitter
URL: https://github.com/apache/druid/issues/14234


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] holyachon commented on issue #14234: `ingest/*` metrics not emitted with Prometheus Emitter

Posted by "holyachon (via GitHub)" <gi...@apache.org>.
holyachon commented on issue #14234:
URL: https://github.com/apache/druid/issues/14234#issuecomment-1553986280

   Hello.
   Did you check https://github.com/apache/druid/issues/12242 issue?
   I'm not sure as I lost the context on this issue a long time ago, but I remember that it requires a separate configuration not only for peon, but also middlemanager.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] `ingest/*` metrics not emitted with Prometheus Emitter (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #14234:
URL: https://github.com/apache/druid/issues/14234#issuecomment-2016641236

   This issue has been closed due to lack of activity. If you think that
   is incorrect, or the issue requires additional review, you can revive the issue at
   any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org