Creates statsd client
Creates monasca-statsd client using configuration from config file and supplied dimensions.
Configuration is composed out of
[monitoring]
statsd_host = 192.168.10.4
statsd_port = 8125
statsd_buffer = 50
Dimensions are appended to following dictionary
{
'service': 'monitoring',
'component': 'monasca-log-api'
}
Parameters: | dimensions (dict) – Optional dimensions |
---|---|
Returns: | statsd client |
Return type: | monascastatsd.Client |
Metric sent with amount of bulk packages that were rejected due to early stage validation (content-length, content-type). Only valid for v3.0.
Metric sent with time that log-api needed to process each received log. Metric does not include time needed to authorize requests.
Metric sent with amount of logs that were lost due to critical error in publish phase.
Metric sent with amount of logs published to kafka
Metric sent with time that publishing took
Metric sent with size of payloads(a.k.a. Content-Length) (in bytes) API receives
Metrics sent with amount of logs (not requests) API receives
Metric sent with amount of logs that were rejected (i.e. invalid dimension)
Metric sent with amount of truncated bytes from log message