Skip to content

Commit 0343773

Browse files
eduardodbrJoibel
andauthored
docs: Update PROMETHEUS_LEGACY_NAME_VALIDATION_SCHEME description
Co-authored-by: Alan Clucas <[email protected]> Signed-off-by: Eduardo Rodrigues <[email protected]>
1 parent 72eba3d commit 0343773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This document outlines environment variables that can be used to customize behav
4444
| `OFFLOAD_NODE_STATUS_TTL` | `time.Duration` | `5m` | The TTL to delete the offloaded node status. Currently only used for testing. |
4545
| `OPERATION_DURATION_METRIC_BUCKET_COUNT` | `int` | `6` | The number of buckets to collect the metric for the operation duration. |
4646
| `POD_NAMES` | `string` | `v2` | Whether to have pod names contain the template name (v2) or be the node id (v1) - should be set the same for Argo Server. |
47-
| `PROMETHEUS_LEGACY_NAME_VALIDATION_SCHEME` | `bool` | `false` | Sets Prometheus NameValidationScheme to LegacyValidation instead of the default UTF8Validation. |
47+
| `PROMETHEUS_LEGACY_NAME_VALIDATION_SCHEME` | `bool` | `false` | Makes prometheus emit metrics with only underscores as delimiters by setting `NameValidationScheme` to `LegacyValidation`. |
4848
| `RECENTLY_STARTED_POD_DURATION` | `time.Duration` | `10s` | The duration of a pod before the pod is considered to be recently started. |
4949
| `RECENTLY_DELETED_POD_DURATION` | `time.Duration` | `2m` | The duration of a pod before the pod is considered to be recently deleted. |
5050
| `TASK_RESULT_TIMEOUT_DURATION` | `time.Duration` | `10m` | The duration of time before a node is marked completed but the `taskresult` has not arrived yet, this is a more general and more conservative version of `RECENTLY_DELETED_POD_DURATION` that is used when a `taskresult` hasn't arrived but the pod is still around. |

0 commit comments

Comments
 (0)