Kyoto Tycoon is a lightweight database server with auto expiration mechanism, which is useful to handle cache data and persistent data of various applications. Kyoto Tycoon is also a package of network interface to the DBM called Kyoto Cabinet.
Prerequisite
For Virtual machines, install the Linux agent.
Configuring the credentials
Configure the credentials in the directory /opt/opsramp/agent/conf/app.d/creds.yaml
kyototycoon:
- name: kyototycoon
user: <username>
pwd: <Password>
encoding-type: plain
labels:
key1: val1
key2: val2
Configuring the application
Virtual machine
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-detection.yaml
- name: kyototycoon
instance-checks:
service-check:
- ktserver
process-check:
- ktserver
port-check:
- 1978
Docker environment
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-container-detection.yaml
- name: kyototycoon
container-checks:
image-check:
- kyototycoon
port-check:
- 1978
Kubernetes environment
Configure the application in config.yaml
- name: kyototycoon
container-checks:
image-check:
- kyototycoon
port-check:
- 1978
Validate
Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Description |
---|---|---|---|
kyototycoon_serv_thread_count | Server Thread Count | threads | Total number of threads |
kyototycoon_serv_conn_count | Server Conn Count | Total number of connections | |
kyototycoon_cnt_get | Count Get | Number of of get hits | |
kyototycoon_cnt_get_misses | Count Get Misses | Number of get misses | |
kyototycoon_cnt_set | Count Set | hits | Number of set hits |
kyototycoon_cnt_set_misses | Count Set Misses | Number of set misses | |
kyototycoon_cnt_remove | Count Remove | Number of deleted hits | |
kyototycoon_cnt_remove_misses | Count Remove Misses | misses | Number of deleted misses |
kyototycoon_serv_task_count | Server Task Count | tasks | Number of tasks in server |
kyototycoon_db_total_size | Db Total Size | bytes | Current size of the kyoto tycoon DB |
kyototycoon_db_total_count | Db Total Count | Total amount of records |