Datadog-Kyoto Tycoon Integration

Overview

The Agent’s Kyototycoon check tracks get, set, and delete operations, and lets you monitor replication lag.

Setup

Installation

The Kyototycoon check is packaged with the Agent, so simply install the Agent on your Kyototycoon servers. If you need the newest version of the check, install the dd-check-kyototycoon package.

Configuration

Create a file kyototycoon.yaml in the Agent’s conf.d directory. See the sample kyototycoon.yaml for all available configuration options:

init_config:

instances:
#  Each instance needs a report URL. 
#  name, and optionally tags keys. The report URL should
#  be a URL to the Kyoto Tycoon "report" RPC endpoint.
#
#  Complete example:
#
- report_url: http://localhost:1978/rpc/report
#   name: my_kyoto_instance
#   tags:
#     foo: bar
#     baz: bat

Validation

Run the Agent’s info subcommand and look for kyototycoon under the Checks section:

  Checks
  ======
    [...]

    kyototycoon
    -------
      - instance #0 [OK]
      - Collected 26 metrics, 0 events & 1 service check

    [...]

Compatibility

The kyototycoon check is compatible with all major platforms.

Data Collected

Metrics

kyototycoon.repl_delay
(gauge)
Replication delay
shown as millisecond
kyototycoon.serv_thread_count
(gauge)
Total number of threads
shown as thread
kyototycoon.serv_conn_count
(rate)
Total number of connections
shown as connection
kyototycoon.cnt_get
(rate)
Rate of get hits
shown as hit
kyototycoon.cnt_get_misses
(rate)
Rate of get misses
shown as miss
kyototycoon.cnt_set
(rate)
Rate of set hits
shown as hit
kyototycoon.cnt_set_misses
(rate)
Rate of set misses
shown as miss
kyototycoon.cnt_remove
(rate)
Rate of deleted hits
shown as hit
kyototycoon.cnt_remove_misses
(rate)
Rate of deleted misses
shown as miss
kyototycoon.count
(gauge)
Total amount of records
shown as record
kyototycoon.size
(gauge)
Current size of the kyoto tycoon DB
shown as

Events

The Kyototycoon check does not include any event at this time.

Service Checks

kyototycoon.can_connect:

Returns CRITICAL if the Agent cannot connect to Kyototycoon to collect metrics, otherwise OK.

Troubleshooting

Need help? Contact Datadog Support.

Further Reading

Learn more about infrastructure monitoring and all our integrations on our blog