SanitizeMetricName
SanitizeMetricName ensures the generates metric name is compatible with the underlying prometheus library.
def SanitizeMetricName(
name: string
) - > string
SanitizeMetricName ensures the generates metric name is compatible with the underlying prometheus library.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The metric name to sanitize. |
Returns
| Type | Description |
|---|---|
string | The sanitized metric name. |