Skip to content

Commit

Permalink
Release v0.23.0 (prometheus#940)
Browse files Browse the repository at this point in the history
* Release v0.23.0

BREAKING CHANGES:

This version of the exporter introduces a new configuration file format. This
new format separates the walk and metric mappings from the connection and
authentication settings. This allows for easier configuration of different
auth params without having to duplicate the full walk and metric mapping.

See auth-split-migration.md for more details.

* [CHANGE] Split config of auth and modules prometheus#859
* [FEATURE] Add support for parsing SNMP transport from target prometheus#914
* [ENHANCEMENT] Improved Lookup process for label information prometheus#908
* [BUGFIX] Fix metrics path not using command-line argument value prometheus#904

Signed-off-by: SuperQ <[email protected]>

* Lint dashboards

Update dashboards to latest mixin linting.

Signed-off-by: SuperQ <[email protected]>

---------

Signed-off-by: SuperQ <[email protected]>
Signed-off-by: Stephan Windischmann <[email protected]>
  • Loading branch information
SuperQ authored and Stephan Windischmann committed Oct 27, 2023
1 parent a1d0e40 commit 789ab4f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.23.0-rc.1 / 2023-07-20
## 0.23.0 / 2023-07-20

BREAKING CHANGES:

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.23.0-rc.1
0.23.0
22 changes: 11 additions & 11 deletions snmp-mixin/dashboards/snmp_ubiquiti_access_point.json
Original file line number Diff line number Diff line change
Expand Up @@ -2722,7 +2722,7 @@
"description": "",
"hide": 0,
"includeAll": false,
"label": "Data Source",
"label": "Data source",
"multi": false,
"name": "datasource",
"options": [],
Expand All @@ -2746,7 +2746,7 @@
"error": null,
"hide": 0,
"includeAll": false,
"label": "job",
"label": "Job",
"multi": true,
"multiFormat": "pipe",
"name": "job",
Expand All @@ -2755,7 +2755,7 @@
"query": "label_values(up{job=~\"snmp.*\"}, job)",
"refId": "default-job-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand All @@ -2779,7 +2779,7 @@
"error": null,
"hide": 0,
"includeAll": false,
"label": "instance",
"label": "Instance",
"multi": true,
"multiFormat": "pipe",
"name": "instance",
Expand All @@ -2788,7 +2788,7 @@
"query": "label_values(up{job=~\"$job\"}, instance)",
"refId": "default-devices-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand Down Expand Up @@ -2825,7 +2825,7 @@
"query": "query_result(ifOperStatus{job=~\"$job\",instance=~\"$instance\"}==1)",
"refId": "default-device_interfaces-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": ".*ifName=\"(.*?)\".*",
"skipUrlSync": false,
"sort": 1,
Expand Down Expand Up @@ -2856,7 +2856,7 @@
"query": "label_values(unifiApSystemModel{job=~\"$job\",instance=~\"$instance\"}, unifiApSystemModel)",
"refId": "default-device_model-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down Expand Up @@ -2887,7 +2887,7 @@
"query": "label_values(unifiApSystemVersion{job=~\"$job\",instance=~\"$instance\"}, unifiApSystemVersion)",
"refId": "default-device_firmware_version-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down Expand Up @@ -2922,7 +2922,7 @@
"query": "label_values(ifPhysAddress{job=~\"$job\",instance=~\"$instance\"}, ifPhysAddress)",
"refId": "default-device_mac_addresses-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand Down Expand Up @@ -2953,7 +2953,7 @@
"query": "label_values(unifiApSystemIp{job=~\"$job\",instance=~\"$instance\"}, unifiApSystemIp)",
"refId": "default-device_main_ip-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down Expand Up @@ -2990,7 +2990,7 @@
"query": "label_values(unifiVapEssId{job=~\"$job\",instance=~\"$instance\"}, unifiVapEssId)",
"refId": "default-device_ESSIDs-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand Down
24 changes: 12 additions & 12 deletions snmp-mixin/dashboards/snmp_ubiquiti_wifi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3515,12 +3515,12 @@
"description": "",
"hide": 0,
"includeAll": false,
"label": "Data Source",
"label": "Data source",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
Expand All @@ -3539,7 +3539,7 @@
"error": null,
"hide": 0,
"includeAll": false,
"label": "job",
"label": "Job",
"multi": true,
"multiFormat": "pipe",
"name": "job",
Expand All @@ -3548,7 +3548,7 @@
"query": "label_values(up{job=~\"snmp.*\"}, job)",
"refId": "default-job-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand Down Expand Up @@ -3576,7 +3576,7 @@
"error": null,
"hide": 2,
"includeAll": true,
"label": "instance",
"label": "Instance",
"multi": true,
"multiFormat": "pipe",
"name": "instance",
Expand All @@ -3585,7 +3585,7 @@
"query": "label_values(up{job=~\"$job\"}, instance)",
"refId": "default-devices-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand Down Expand Up @@ -3622,7 +3622,7 @@
"query": "query_result(ifOperStatus{job=~\"$job\",instance=~\"$instance\"}==1)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": ".*ifName=\"(.*?)\".*",
"skipUrlSync": false,
"sort": 1,
Expand Down Expand Up @@ -3653,7 +3653,7 @@
"query": "label_values(unifiApSystemModel{job=~\"$job\",instance=~\"$instance\"}, unifiApSystemModel)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down Expand Up @@ -3684,7 +3684,7 @@
"query": "label_values(unifiApSystemVersion{job=~\"$job\",instance=~\"$instance\"}, unifiApSystemVersion)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down Expand Up @@ -3719,7 +3719,7 @@
"query": "label_values(ifPhysAddress{job=~\"$job\",instance=~\"$instance\"}, ifPhysAddress)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand Down Expand Up @@ -3750,7 +3750,7 @@
"query": "label_values(unifiApSystemIp{job=~\"$job\",instance=~\"$instance\"}, unifiApSystemIp)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down Expand Up @@ -3787,7 +3787,7 @@
"query": "label_values(unifiVapEssId{job=~\"$job\",instance=~\"$instance\"}, unifiVapEssId)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
Expand Down

0 comments on commit 789ab4f

Please sign in to comment.