Affected by GO-2024-3241
and 5 other vulnerabilities
GO-2024-3241 : Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability in github.com/hashicorp/consul
GO-2024-3242 : Hashicorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul
GO-2024-3243 : Hashicorp Consul Path Traversal vulnerability in github.com/hashicorp/consul
GO-2025-4081 : Consul key/value endpoint is vulnerable to denial of service in github.com/hashicorp/consul
GO-2025-4082 : Consul event endpoint is vulnerable to denial of service in github.com/hashicorp/consul
GO-2026-4690 : Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication in github.com/hashicorp/consul
Discover Packages
github.com/hashicorp/consul
agent
metrics
package
Version:
v1.15.4
Opens a new window with list of versions in this module.
Published: Jun 23, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Asserts that a counter metric has the given value
Asserts that a gauge metric has the current value
Returns an in memory metrics sink for tests to assert metrics are emitted.
Do not enable t.Parallel() since this relies on the global metrics instance.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.