You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// DEPRECATED: Warn users if they're emitting deprecated metrics. Remove this warning and the flagged metrics in a
602
+
// future release of Consul.
603
+
if!a.config.Telemetry.DisableCompatOneNine {
604
+
a.logger.Warn("DEPRECATED Backwards compatibility with pre-1.9 metrics enabled. These metrics will be removed in a future version of Consul. Set `telemetry { disable_compat_1.9 = true }` to disable them.")
605
+
}
606
+
601
607
returnnil
602
608
}
603
609
@@ -3497,6 +3503,12 @@ func (a *Agent) ReloadConfig() error {
3497
3503
// breaking some existing behavior.
3498
3504
newCfg.NodeID=a.config.NodeID
3499
3505
3506
+
// DEPRECATED: Warn users on reload if they're emitting deprecated metrics. Remove this warning and the flagged
3507
+
// metrics in a future release of Consul.
3508
+
if!a.config.Telemetry.DisableCompatOneNine {
3509
+
a.logger.Warn("DEPRECATED Backwards compatibility with pre-1.9 metrics enabled. These metrics will be removed in a future version of Consul. Set `telemetry { disable_compat_1.9 = true }` to disable them.")
|`consul.acl.blocked.service.registration`| This increments whenever a deregistration fails for a service (blocked by an ACL) | requests | counter |
143
143
|`consul.acl.blocked..registration`| This increments whenever a registration fails for an entity (check, node or service) is blocked by an ACL | requests | counter |
144
+
|`consul.api.http`| Migrated from consul.http.. this samples how long it takes to service the given HTTP request for the given verb and path. Includes labels for `path` and `method`. `path` does not include details like service or key names, for these an underscore will be present as a placeholder (eg. path=`v1.kv._`) | ms | timer |
144
145
|`consul.client.rpc`| This increments whenever a Consul agent in client mode makes an RPC request to a Consul server. This gives a measure of how much a given agent is loading the Consul servers. Currently, this is only generated by agents in client mode, not Consul servers. | requests | counter |
145
146
|`consul.client.rpc.exceeded`| This increments whenever a Consul agent in client mode makes an RPC request to a Consul server gets rate limited by that agent's [`limits`](/docs/agent/options#limits) configuration. This gives an indication that there's an abusive application making too many requests on the agent, or that the rate limit needs to be increased. Currently, this only applies to agents in client mode, not Consul servers. | rejected requests | counter |
146
147
|`consul.client.rpc.failed`| This increments whenever a Consul agent in client mode makes an RPC request to a Consul server and fails. | requests | counter |
@@ -180,7 +181,7 @@ This is a full list of metrics emitted by Consul.
180
181
|`consul.dns.stale_queries`| This increments when an agent serves a query within the allowed stale threshold. | queries | counter |
181
182
|`consul.dns.ptr_query.`| This measures the time spent handling a reverse DNS query for the given node. | ms | timer |
182
183
|`consul.dns.domain_query.`| This measures the time spent handling a domain query for the given node. | ms | timer |
183
-
|`consul.http`|This tracks how long it takes to service the given HTTP request for the given verb and path. Paths do not include details like service or key names, for these an underscore will be present as a placeholder (eg. label `path=v1_kv_`) | ms | timer |
184
+
|`consul.http...`| DEPRECATED IN 1.9: This tracks how long it takes to service the given HTTP request for the given verb and path. Paths do not include details like service or key names, for these an underscore will be present as a placeholder (eg. `consul.http.GET.v1.kv._`)| ms | timer |
0 commit comments