From 5e625fae0232da515a14d132d3f60dc476c39dc4 Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Fri, 20 Jun 2025 18:31:43 +0200 Subject: [PATCH] update descriptions --- management/server/telemetry/updatechannel_metrics.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/management/server/telemetry/updatechannel_metrics.go b/management/server/telemetry/updatechannel_metrics.go index e51efa7a6..b5efe23aa 100644 --- a/management/server/telemetry/updatechannel_metrics.go +++ b/management/server/telemetry/updatechannel_metrics.go @@ -95,7 +95,7 @@ func NewUpdateChannelMetrics(ctx context.Context, meter metric.Meter) (*UpdateCh calcPostureChecksDurationMicro, err := meter.Int64Histogram("management.updatechannel.calc.posturechecks.duration.micro", metric.WithUnit("microseconds"), - metric.WithDescription("Duration of how long it takes to check if a peer has a channel"), + metric.WithDescription("Duration of how long it takes to to get the posture checks for a peer"), ) if err != nil { return nil, err @@ -103,7 +103,7 @@ func NewUpdateChannelMetrics(ctx context.Context, meter metric.Meter) (*UpdateCh calcPeerNetworkMapDurationMicro, err := meter.Int64Histogram("management.updatechannel.calc.networkmap.duration.micro", metric.WithUnit("microseconds"), - metric.WithDescription("Duration of how long it takes to check if a peer has a channel"), + metric.WithDescription("Duration of how long it takes to calculate the network map for a peer"), ) if err != nil { return nil, err @@ -111,7 +111,7 @@ func NewUpdateChannelMetrics(ctx context.Context, meter metric.Meter) (*UpdateCh mergeNetworkMapDurationMicro, err := meter.Int64Histogram("management.updatechannel.merge.networkmap.duration.micro", metric.WithUnit("microseconds"), - metric.WithDescription("Duration of how long it takes to check if a peer has a channel"), + metric.WithDescription("Duration of how long it takes to merge the network maps for a peer"), ) if err != nil { return nil, err @@ -119,7 +119,7 @@ func NewUpdateChannelMetrics(ctx context.Context, meter metric.Meter) (*UpdateCh toSyncResponseDurationMicro, err := meter.Int64Histogram("management.updatechannel.tosyncresponse.duration.micro", metric.WithUnit("microseconds"), - metric.WithDescription("Duration of how long it takes to check if a peer has a channel"), + metric.WithDescription("Duration of how long it takes to convert the network map to sync response"), ) if err != nil { return nil, err