Skip to content

Commit cc07836

Browse files
authored
Update README.md
1 parent c15d79d commit cc07836

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,11 @@ You should also be able to authenticate with the in-cluster service
2626
account using the `InClusterConfig` function shown below.
2727

2828
## Monitoring
29-
There is optional built-in metric generation for prometheus client metrics.
30-
The exported metrics are:
29+
Metrics are built in to HttpClient using System.Diagnostics.DiagnosticsSource.
30+
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/built-in-metrics-system-net
3131

32-
* `k8s_dotnet_request_total` - Counter of request, broken down by HTTP Method
33-
* `k8s_dotnet_response_code_total` - Counter of responses, broken down by HTTP Method and response code
34-
* `k8s_request_latency_seconds` - Latency histograms broken down by method, api group, api version and resource kind
35-
36-
There is an example integrating these monitors in the examples/prometheus directory.
32+
There are many ways these metrics can be consumed/exposed but that decision is up to the application, not KubernetesClient itself.
33+
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/metrics-collection
3734

3835
## Sample Code
3936

0 commit comments

Comments
 (0)