We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13de32d commit 06c50d5Copy full SHA for 06c50d5
templates/base.hcl.j2
@@ -94,7 +94,7 @@ telemetry {
94
use_node_name = "{{ nomad_telemetry_use_node_name | default(false) | bool | lower }}"
95
publish_allocation_metrics = "{{ nomad_telemetry_publish_allocation_metrics | default(false) | bool | lower }}"
96
publish_node_metrics = "{{ nomad_telemetry_publish_node_metrics | default(false) | bool | lower }}"
97
-{% if nomad_version | replace(".", "0000") | int < 10000000000 %}
+{% if nomad_version is version('1.0.0', '<') %}
98
backwards_compatible_metrics = "{{ nomad_telemetry_backwards_compatible_metrics | default(false) | bool | lower }}"
99
disable_tagged_metrics = "{{ nomad_telemetry_disable_tagged_metrics | default(false) | bool | lower }}"
100
{% endif %}
0 commit comments