Get metrics from Portworx service in real time to:
- Monitor health and performance of your Portworx Cluster
- Track disk usage, latency and throughput for Portworx volumes
The Portworx check is NOT included in the Datadog Agent package.
To install the Portworx check on your host:
- Download the Datadog Agent
- Download the
check.py
file for Portworx - Place it in the Agent's
checks.d
directory - Rename it to
portworx.py
Create a file portworx.yaml
in the Agent's conf.d
directory.
- Add this configuration setup to your
portworx.yaml
file to start gathering your portworx metrics:
init_config:
instances:
# url of the metrics endpoint of prometheus
- prometheus_endpoint: http://localhost:9001/metrics
Configure it to point to your server and port.
See the sample portworx.yaml for all available configuration options.
- Restart the Agent to begin sending Portworx metrics to Datadog.
Run the Agent's info
subcommand, you should see something like the following:
Checks
======
portworx
-----------------
- instance #0 [OK]
- Collected 60 metrics, 0 events & 0 service check
The Portworx check is compatible with Portworx 1.4.0 and possible earlier versions.
See metadata.csv for a list of metrics provided by this integration.
The Portworx check does not include any events at this time.
portworx
-------
- instance #0 [ERROR]: "('Connection aborted.', error(111, 'Connection refused'))"
- Collected 0 metrics, 0 events & 0 service check
Check that the url
in portworx.yaml
is correct.
Learn more about infrastructure monitoring and all our integrations on our blog.