Skip to content

Commit

Permalink
8: cleaned up the prometheus help text for archive metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Feb 8, 2024
1 parent 14ea9bf commit 9cdf762
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/soroban-rpc/internal/ingest/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,7 @@ func newService(cfg Config) *Service {
haStatsMetric := prometheus.NewCounterVec(
prometheus.CounterOpts{
Namespace: cfg.Daemon.MetricsNamespace(), Subsystem: "ingest", Name: "history_archive_stats_total",
Help: "Counters of different ingestion archive requests. " +
"'source' label will provide name/address of the physical history archive server from the pool for which a request may be sent. " +
"'type' label will further categorize the potential request into specific requests, " +
"'file_downloads' - the count of files downloaded from an archive server, " +
"'file_uploads' - the count of files uploaded to an archive server, " +
"'requests' - the count of all http requests(includes both queries and file downloads) sent to an archive server, " +
"'cache_hits' - the count of requests for an archive file that were found on local cache instead, no download request sent to archive server.",
Help: "counters of different history archive stats",
},
[]string{"source", "type"},
)
Expand Down

0 comments on commit 9cdf762

Please sign in to comment.