Aggregate and summarize networking metrics for the Access Tier
- Enabling metrics collection
- Datadog Integration using DogStatsD
The Netagent binary, which is the core component of the Banyan Access Tier, is instrumented to generate metrics to be collected by a StatsD daemon; the daemon will then generate aggregates and relay them to a monitoring backend.
Enabling metrics collection
To enable metrics collection, set the
stats_address parameters in the Netagent config.yaml file:
|statsd||false||Turn on metrics collection using statsd|
||Address to send statsd messages: “hostname:port” for UDP, “unix:///path/to/socket” for UDS|
Once configured, the following metrics will be sent to the
|Metric Name||Metric Type||Description|
||COUNT||Number of TCP connections|
||COUNT||Number of failures to connect to the upstream server|
||COUNT||Number of attempted accesses blocked by policy|
||HISTOGRAM||Time to respond to a HTTP request|
||HISTOGRAM||Time to process a TCP request|
Netagent aggregates TX/RX byte counts and sends them to
statsd daemon roughly every 13 seconds. For all metrics except TX/RX byte counts, Netagent sends statsd messages to the daemon immediately, where they are received and aggregated.
Every metric is tagged with descriptors that allow you to disaggregate telemetry data as needed:
|Tag Name||Tag Value|
||Name of Access Tier that generated the metrics|
||Linux host running Netagent, representing a specific instance of the Access Tier|
||ID of the Banyan Service for the metric|
Metric tags and the HISTOGRAM metric type are supported explicitly by Datadog, but may not work with other monitoring tools. The Response Time metric is calculated only for Hosted Website services.
Datadog Integration using DogStatsD
DogStatsD is a metrics aggregation service bundled with the Datadog Agent. When you run the Datadog agent alongside Netagent on the Access Tier machines, you can use DogStatsD to collect network metrics for visualization in your Datadog dashboards.
Leveraging Tags for per Service or per Access Tier metrics
Metrics sent to Datadog contain tags that allow filtering at per Service or per Access Tier level. In order to filter metrics at an Access Tier level, navigate to the Metrics Explorer and filter on
In order to filter metrics at a Banyan service level, navigate to the Metrics Explorer and filter on
Last modified: Aug 05, 2021