我在普罗米修斯中有以下标签,如何在模板化“查询”之类的内容时创建通配符查询:“label_values(application_*Count_Total,xyx)”。这些值是从 Eclipse Microprofile REST-API 生成的
application_getEnvVariablesCount_total
application_getFEPmemberCount_total
application_getLOBDetailsCount_total
application_getPropertiesCount_total
{
"allValue": null,
"current": {
"isNone": true,
"selected": false,
"text": "None",
"value": ""
},
"datasource": "bcnc-prometheus",
"definition": "microprofile1",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "newtest",
"options": [
{
"isNone": true,
"selected": true,
"text": "None",
"value": ""
}
],
"query": "microprofile1",
"refresh": 0,
"regex": "{__name__=~\"application_.*Count_total\"}",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},