comma control

This commit is contained in:
m0duspwnens
2021-07-06 11:06:35 -04:00
parent 98505a9a3f
commit a5067718d2
5 changed files with 16 additions and 15 deletions

View File

@@ -22,9 +22,10 @@
"panels": [
{% for panel in PANELS -%}
{%- import_json "grafana/panels/" ~ panel ~ ".json" as panel %}
{{ panel }},
{%- endfor %}
{%- import_json "grafana/panels/" ~ panel ~ ".json.jinja" as panel %}
{{ panel | json }} {%- if not loop.last %},{% endif %}
{% endfor -%}
],
"refresh": "30s",
@@ -146,7 +147,7 @@
]
},
"timezone": "browser",
"title": "Standalone Mode - {{ SERVERNAME }} Overview",
"title": "Standalone - {{ SERVERNAME }} Overview",
"uid": "{{ UID }}",
"version": 17
}

View File

@@ -35,10 +35,10 @@ grafana:
w: 20
x: 0
y: 0
# cpu_usage_tasks: {}
# disk_io: {}
# disk_used_root: {}
# disk_used_nsm: {}
# elasticsearch_cpu_usage: {}
# elasticsearch_documents_count: {}
# elasticsearch_field_data_cache_size: {}
cpu_usage_tasks: {}
disk_io: {}
disk_used_root: {}
disk_used_nsm: {}
elasticsearch_cpu_usage: {}
elasticsearch_documents_count: {}
elasticsearch_field_data_cache_size: {}

View File

@@ -119,7 +119,7 @@ grafana-config-files:
{% for SN, SNDATA in salt['pillar.get']('standalonetab', {}).items() %}
{% set NODETYPE = SN.split('_')|last %}
{% set SN = SN | regex_replace('_' ~ NODETYPE, '') %}
common--standalone-dashboard:
common-standalone-dashboard:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/standalone/common_standalone.json
- user: 939

View File

@@ -101,7 +101,7 @@
{
"key": "host",
"operator": "=",
"value": " SERVERNAME "
"value": "{{ SERVERNAME }}"
},
{
"condition": "AND",
@@ -158,7 +158,7 @@
{
"key": "host",
"operator": "=",
"value": " SERVERNAME "
"value": "{{ SERVERNAME }}"
},
{
"condition": "AND",
@@ -173,7 +173,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": " SERVERNAME - CPU",
"title": "{{ SERVERNAME }} - CPU",
"tooltip": {
"shared": true,
"sort": 0,