Skip to content

Commit

Permalink
Change variables which are list of values to a single value. As in 99…
Browse files Browse the repository at this point in the history
…% of the time we won't look at the others.
  • Loading branch information
Jeffrey-Vervoort-KNMI committed Oct 29, 2024
1 parent cfca146 commit b33c150
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 35 deletions.
31 changes: 13 additions & 18 deletions grafana/dashboards/database-performance.json
Original file line number Diff line number Diff line change
Expand Up @@ -1647,38 +1647,33 @@
},
{
"current": {
"selected": false,
"selected": true,
"text": "prometheus-postgres-exporter:9187",
"value": "prometheus-postgres-exporter:9187"
},
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(instance)",
"hide": 0,
"includeAll": false,
"label": "Instance",
"multi": false,
"name": "INSTANCE",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"options": [
{
"selected": true,
"text": "prometheus-postgres-exporter:9187",
"value": "prometheus-postgres-exporter:9187"
}
],
"query": "prometheus-postgres-exporter:9187",
"queryValue": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
"type": "custom"
},
{
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"selected": true,
"text": "1m",
"value": "1m"
},
Expand Down Expand Up @@ -1758,6 +1753,6 @@
"timezone": "browser",
"title": "Database Performance",
"uid": "adxl34wpc3if4a",
"version": 5,
"version": 9,
"weekStart": ""
}
30 changes: 13 additions & 17 deletions grafana/dashboards/grpc-server.json
Original file line number Diff line number Diff line change
Expand Up @@ -2796,31 +2796,27 @@
"list": [
{
"current": {
"selected": false,
"selected": true,
"text": "store",
"value": "store"
},
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(job)",
"description": "Name of the database",
"hide": 0,
"includeAll": false,
"label": "Job",
"multi": false,
"name": "JOB",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(job)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"options": [
{
"selected": true,
"text": "store",
"value": "store"
}
],
"query": "store",
"queryValue": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
"type": "custom"
},
{
"auto": false,
Expand Down Expand Up @@ -2907,6 +2903,6 @@
"timezone": "browser",
"title": "gRPC Server",
"uid": "cdydeqdbz124gf",
"version": 3,
"version": 6,
"weekStart": ""
}

1 comment on commit b33c150

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py614821%34–81
datastore_pb2_grpc.py542750%15–16, 19, 65–80, 121–123, 128–130, 135–137, 142–144, 148–173, 219, 246, 273, 300
export_metrics.py100100% 
grpc_getter.py201145%15–19, 23–26, 30–32, 36–38
locustfile.py15150%1–31
main.py43784%45, 50, 60, 70–71, 81–82
metadata_endpoints.py653152%45–54, 58, 85, 100–219, 223
response_classes.py50100% 
utilities.py1744674%20, 38, 45, 67–70, 78–89, 94–101, 121, 125, 127, 155, 161, 179, 193–194, 198, 214–218, 222–228, 232–234, 264, 268, 290, 295
custom_geo_json
   edr_feature_collection.py60100% 
formatters
   \_\_init\_\_.py110100% 
   covjson.py59198%91
   geojson.py21290%27, 52
openapi
   custom_dimension_examples.py40100% 
   edr_query_parameter_descriptions.py110100% 
   openapi_examples.py130100% 
routers
   \_\_init\_\_.py00100% 
   edr.py101496%348–349, 438–439
   feature.py471960%99–132, 148–153, 159–181
TOTAL72021171% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
30 0 💤 0 ❌ 0 🔥 1.946s ⏱️

Please sign in to comment.