Skip to content

Commit

Permalink
chore: fix prometheus sample metric typos in description (#2308)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafdl authored Nov 14, 2023
1 parent 4172217 commit 01ed48e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed class PrometheusForwarderMetrics : IMetricsConsumer<ForwarderMetri
{
private static readonly Counter _requestsStarted = Metrics.CreateCounter(
"yarp_proxy_requests_started",
"Number of requests inititated through the proxy"
"Number of requests initiated through the proxy"
);

private static readonly Counter _requestsFailed = Metrics.CreateCounter(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ public sealed class PrometheusKestrelMetrics : IMetricsConsumer<KestrelMetrics>
{
private static readonly Counter _totalConnections = Metrics.CreateCounter(
"yarp_kestrel_total_connections",
"Number of incomming connections opened"
"Number of incoming connections opened"
);

private static readonly Counter _totalTlsHandshakes = Metrics.CreateCounter(
"yarp_kestrel_total_tls_Handshakes",
"Numer of TLS handshakes started"
"Number of TLS handshakes started"
);

private static readonly Gauge _currentTlsHandshakes = Metrics.CreateGauge(
Expand All @@ -30,7 +30,7 @@ public sealed class PrometheusKestrelMetrics : IMetricsConsumer<KestrelMetrics>

private static readonly Gauge _currentConnections = Metrics.CreateGauge(
"yarp_kestrel_current_connections",
"Number of currently open incomming connections"
"Number of currently open incoming connections"
);

private static readonly Gauge _connectionQueueLength = Metrics.CreateGauge(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public sealed class PrometheusOutboundHttpMetrics : IMetricsConsumer<HttpMetrics

private static readonly Counter _outboundRequestsStarted = Metrics.CreateCounter(
"yarp_outbound_http_requests_started",
"Number of outbound requests inititated by the proxy"
"Number of outbound requests initiated by the proxy"
);

private static readonly Counter _outboundRequestsFailed = Metrics.CreateCounter(
Expand Down

0 comments on commit 01ed48e

Please sign in to comment.