Skip to main content

How to check metrics with influxdb?

  • December 20, 2021
  • 0 replies
  • 78 views

AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

SCH only shows metrics during a period of time for one month. If the customer wants to go back in time in order to examine older metrics, we can simply access Influxdb:

influx -username root -password root -precision rfc3339
> use sch
Using database sch
>
> show measurements
name: measurements
name
----
pipeline_batchCount_meter
pipeline_batchErrorMessages_meter
pipeline_batchErrorRecords_meter
pipeline_batchInputRecords_meter
pipeline_batchOutputRecords_meter
pipeline_batchProcessing_timer
sdc_process_metrics
stage_batchProcessing_timer
stage_errorRecords_meter
stage_inputRecords_meter
stage_outputRecords_meter
stage_stageErrors_meter
>

We can play with these measurements. E.g. to check the output metrics for a job:

select * from stage_outputRecords_meter where jobId = 'e2b5406d-285a-4870-9e5d-9c6f413abc29:admin';

Check https://streamsets.zendesk.com/knowledge/articles/360042411854/en-us?brand_id=83538 for install influxdb.

This topic has been closed for replies.