Documentation ¶
Index ¶
Constants ¶
View Source
const Type config.Type = "nginxreceiver"
Type is the component type name.
Variables ¶
View Source
var L = Labels
L contains the possible metric labels that can be used. L is an alias for Labels.
View Source
var Labels = struct {
}{}
Labels contains the possible metric labels that can be used.
View Source
var M = Metrics
M contains a set of methods for each metric that help with manipulating those metrics. M is an alias for Metrics
View Source
var Metrics = &metricStruct{ &metricImpl{ "nginx.connections_accepted", func(metric pdata.Metric) { metric.SetName("nginx.connections_accepted") metric.SetDescription("The total number of accepted client connections") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntSum) metric.IntSum().SetIsMonotonic(true) metric.IntSum().SetAggregationTemporality(pdata.AggregationTemporalityCumulative) }, }, &metricImpl{ "nginx.connections_active", func(metric pdata.Metric) { metric.SetName("nginx.connections_active") metric.SetDescription("The current number of open connections") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntGauge) }, }, &metricImpl{ "nginx.connections_handled", func(metric pdata.Metric) { metric.SetName("nginx.connections_handled") metric.SetDescription("The total number of handled connections. Generally, the parameter value is the same as nginx.connections_accepted unless some resource limits have been reached (for example, the worker_connections limit).") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntSum) metric.IntSum().SetIsMonotonic(true) metric.IntSum().SetAggregationTemporality(pdata.AggregationTemporalityCumulative) }, }, &metricImpl{ "nginx.connections_reading", func(metric pdata.Metric) { metric.SetName("nginx.connections_reading") metric.SetDescription("The current number of connections where nginx is reading the request headerhe current number of open connections") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntGauge) }, }, &metricImpl{ "nginx.connections_waiting", func(metric pdata.Metric) { metric.SetName("nginx.connections_waiting") metric.SetDescription("The current number of idle client connections waiting for a request.") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntGauge) }, }, &metricImpl{ "nginx.connections_writing", func(metric pdata.Metric) { metric.SetName("nginx.connections_writing") metric.SetDescription("The current number of connections where nginx is writing the response back to the client.") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntGauge) }, }, &metricImpl{ "nginx.requests", func(metric pdata.Metric) { metric.SetName("nginx.requests") metric.SetDescription("Total number of requests made to the server since it started") metric.SetUnit("requests") metric.SetDataType(pdata.MetricDataTypeIntSum) metric.IntSum().SetIsMonotonic(true) metric.IntSum().SetAggregationTemporality(pdata.AggregationTemporalityCumulative) }, }, }
Metrics contains a set of methods for each metric that help with manipulating those metrics.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.