DCV Server
Linux
You can edit the dcv.conf
file and set:
[metrics]
reporters=['jsonlogfile']
Then restart the service:
systemctl restart dcvserver
Then you can check into /var/log/dcv/
the .json files:
- agent.francisco.francisco.metrics.json : agent metrics from user francisco and the session called francisco (agent.USER.SESSIONNAME.metrics.json)
- server-metrics.json : metrics about dcv server
Then you can consume the last log line to get all metrics from the session and from the DCV Server.
More details about metrics you can check clicking here.
DCV Gateway
You can configure DCV Gateway to export the service metrics to a STATSD endpoint.
You can edit the file /etc/dcv-connection-gateway/dcv-connection-gateway.conf
and set:
[metrics-reporter-statsd]
endpoints = ["127.0.0.1:8125"]
Then restart the DCV Gateway service. It will start to send the metrics to your STATSD endpoint.
You can check for more deep details clicking here.