Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.4 KB

File metadata and controls

33 lines (27 loc) · 1.4 KB

Datadog reporter

Datadog reporter sends measurements towards the configured Datadog agent using UDP transport.

Datadog reporter has the following configuration parameters (that can be specified using options):

  • statsDHost - Datadog statsd server host name (IP address). This parameter is required.
  • statsDPort - Datadog statsd server UDP port number (8125 by default). This parameter is optional.
  • keysPrefix - Datadog measurement prefix (empty string by default). This parameter is optional.
  • fixedTags - Datadog measurement tags applied to all measurements (default none). This parameter is optional.

Here is an example configuration that uses Datadog reporter:

reporters:
  - reporter: io.smartcat.cassandra.diagnostics.reporter.DatadogReporter
    options:
  	  statsDHost: localhost
      statsDPort: 8125 #Optional
      keysPrefix: test #Optional
      fixedTags:
        - tag1:val1
        - tag2:val2
        - tag3:val3

modules:
  - module: io.smartcat.cassandra.diagnostics.module.slowquery.SlowQueryModule
    measurement: slow_query
    options:
      slowQueryThresholdInMilliseconds: 10
    reporters:
      - io.smartcat.cassandra.diagnostics.reporter.DatadogReporter