File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,11 @@ You should also be able to authenticate with the in-cluster service
26
26
account using the ` InClusterConfig ` function shown below.
27
27
28
28
## 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
31
31
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
37
34
38
35
## Sample Code
39
36
You can’t perform that action at this time.
0 commit comments