Skip to content

Commit 7e66420

Browse files
committed
add artifacthub badge
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent f413da8 commit 7e66420

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![license](https://img.shields.io/github/license/webdevops/kube-bootstrap-token-manager.svg)](https://github.com/webdevops/kube-bootstrap-token-manager/blob/master/LICENSE)
44
[![DockerHub](https://img.shields.io/badge/DockerHub-webdevops%2Fkube--bootstrap--token--manager-blue)](https://hub.docker.com/r/webdevops/kube-bootstrap-token-manager/)
55
[![Quay.io](https://img.shields.io/badge/Quay.io-webdevops%2Fkube--bootstrap--token--manager-blue)](https://quay.io/repository/webdevops/kube-bootstrap-token-manager)
6+
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/kube-bootstrap-token-manager)](https://artifacthub.io/packages/search?repo=kube-bootstrap-token-manager)
67

78
Manager for Node bootstrap tokens for Kubernetes.
89

@@ -64,6 +65,40 @@ for Azure API authentication (using ENV vars) see https://docs.microsoft.com/en-
6465
| `bootstraptoken_sync_time` | Timestamp of last sync |
6566
| `bootstraptoken_sync_count` | Counter of sync |
6667

68+
### AzureTracing metrics
69+
70+
(with 22.2.0 and later)
71+
72+
Azuretracing metrics collects latency and latency from azure-sdk-for-go and creates metrics and is controllable using
73+
environment variables (eg. setting buckets, disabling metrics or disable autoreset).
74+
75+
| Metric | Description |
76+
|------------------------------------------|----------------------------------------------------------------------------------------|
77+
| `azurerm_api_ratelimit` | Azure ratelimit metrics (only on /metrics, resets after query due to limited validity) |
78+
| `azurerm_api_request_*` | Azure request count and latency as histogram |
79+
80+
#### Settings
81+
82+
| Environment variable | Example | Description |
83+
|------------------------------------------|------------------------------------|----------------------------------------------------------------|
84+
| `METRIC_AZURERM_API_REQUEST_BUCKETS` | `1, 2.5, 5, 10, 30, 60, 90, 120` | Sets buckets for `azurerm_api_request` histogram metric |
85+
| `METRIC_AZURERM_API_REQUEST_ENABLE` | `false` | Enables/disables `azurerm_api_request_*` metric |
86+
| `METRIC_AZURERM_API_REQUEST_LABELS` | `apiEndpoint, method, statusCode` | Controls labels of `azurerm_api_request_*` metric |
87+
| `METRIC_AZURERM_API_RATELIMIT_ENABLE` | `false` | Enables/disables `azurerm_api_ratelimit` metric |
88+
| `METRIC_AZURERM_API_RATELIMIT_AUTORESET` | `false` | Enables/disables `azurerm_api_ratelimit` autoreset after fetch |
89+
90+
91+
| `azurerm_api_request` label | Status | Description |
92+
|-----------------------------|--------------------|----------------------------------------------------------------------------------------------------------|
93+
| `apiEndpoint` | enabled by default | hostname of endpoint (max 3 parts) |
94+
| `routingRegion` | enabled by default | detected region for API call, either routing region from Azure Management API or Azure resource location |
95+
| `subscriptionID` | enabled by default | detected subscriptionID |
96+
| `tenantID` | enabled by default | detected tenantID (extracted from jwt auth token) |
97+
| `resourceProvider` | enabled by default | detected Azure Management API provider |
98+
| `method` | enabled by default | HTTP method |
99+
| `statusCode` | enabled by default | HTTP status code |
100+
101+
67102
## Kubernetes deployment
68103

69104
see [deployment](/deployment)

0 commit comments

Comments
 (0)