[#1531] metrics: Rename app_info metric

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
Ekaterina Lebedeva 2024-12-20 12:30:06 +03:00 committed by Evgenii Stratonikov
parent 7c3bcb0f44
commit 2832f44437

View file

@ -12,6 +12,7 @@ type ApplicationInfo struct {
func NewApplicationInfo(version string) *ApplicationInfo {
appInfo := &ApplicationInfo{
versionValue: metrics.NewGaugeVec(prometheus.GaugeOpts{
Namespace: namespace,
Name: "app_info",
Help: "General information about the application.",
}, []string{"version"}),