Add URL to dashboard panel label
Some checks failed
Deploy Test / Run deploy test suite (pull_request) Failing after 0s
Lint Checks / Run linter (pull_request) Failing after 1s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 0s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 1s
Webapp Test / Run webapp test suite (pull_request) Failing after 0s
Smoke Test / Run basic test suite (pull_request) Failing after 0s
Some checks failed
Deploy Test / Run deploy test suite (pull_request) Failing after 0s
Lint Checks / Run linter (pull_request) Failing after 1s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 0s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 1s
Webapp Test / Run webapp test suite (pull_request) Failing after 0s
Smoke Test / Run basic test suite (pull_request) Failing after 0s
This commit is contained in:
parent
159402921d
commit
320517b6b0
@ -133,10 +133,13 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
|
"expr": "probe_success{instance=~\"$target\"}",
|
||||||
|
"format": "time_series",
|
||||||
|
"instant": true,
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "$target",
|
"title": "$target ($url)",
|
||||||
"type": "row"
|
"type": "row"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1057,6 +1060,29 @@
|
|||||||
"tagsQuery": "",
|
"tagsQuery": "",
|
||||||
"type": "query",
|
"type": "query",
|
||||||
"useTags": false
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"current": {
|
||||||
|
"selected": false,
|
||||||
|
"text": "",
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "PBFA97CFB590B2093"
|
||||||
|
},
|
||||||
|
"definition": "label_values(probe_success{instance=~\"$target\"}, url)",
|
||||||
|
"hide": 2,
|
||||||
|
"includeAll": false,
|
||||||
|
"multi": false,
|
||||||
|
"name": "url",
|
||||||
|
"options": [],
|
||||||
|
"query": "label_values(probe_success{instance=~\"$target\"}, url)",
|
||||||
|
"refresh": 2,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"type": "query"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -25,8 +25,10 @@ scrape_configs:
|
|||||||
module: [http_2xx]
|
module: [http_2xx]
|
||||||
static_configs:
|
static_configs:
|
||||||
# Add URLs to be monitored below
|
# Add URLs to be monitored below
|
||||||
- targets:
|
# - targets: ["https://github.com"]
|
||||||
# - https://github.com
|
# labels:
|
||||||
|
# alias: "GitHub"
|
||||||
|
# url: "https://github.com"
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
# Forward the original target URL as the 'target' parameter.
|
# Forward the original target URL as the 'target' parameter.
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
@ -36,6 +38,10 @@ scrape_configs:
|
|||||||
- source_labels: [alias]
|
- source_labels: [alias]
|
||||||
target_label: instance
|
target_label: instance
|
||||||
action: replace
|
action: replace
|
||||||
|
# Preserve the URL label
|
||||||
|
- source_labels: [url]
|
||||||
|
target_label: url
|
||||||
|
action: replace
|
||||||
# If no alias is set, fall back to the target URL.
|
# If no alias is set, fall back to the target URL.
|
||||||
- source_labels: [instance]
|
- source_labels: [instance]
|
||||||
regex: ^$
|
regex: ^$
|
||||||
|
@ -47,30 +47,39 @@ laconic-so --stack monitoring deploy create --spec-file monitoring-testnet-spec.
|
|||||||
- targets: ["https://wallet.laconic.com"]
|
- targets: ["https://wallet.laconic.com"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Wallet App"
|
alias: "Wallet App"
|
||||||
|
url: "https://wallet.laconic.com"
|
||||||
- targets: ["https://laconicd-sapo.laconic.com"]
|
- targets: ["https://laconicd-sapo.laconic.com"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Node (laconicd)"
|
alias: "Node laconicd"
|
||||||
|
url: "https://laconicd-sapo.laconic.com"
|
||||||
- targets: ["https://console-sapo.laconic.com"]
|
- targets: ["https://console-sapo.laconic.com"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Console App"
|
alias: "Console App"
|
||||||
|
url: "https://console-sapo.laconic.com"
|
||||||
- targets: ["https://fixturenet-eth.laconic.com"]
|
- targets: ["https://fixturenet-eth.laconic.com"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Fixturenet ETH"
|
alias: "Fixturenet ETH"
|
||||||
|
url: "https://fixturenet-eth.laconic.com"
|
||||||
- targets: ["https://deploy.laconic.com"]
|
- targets: ["https://deploy.laconic.com"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Deploy App"
|
alias: "Deploy App"
|
||||||
|
url: "https://deploy.laconic.com"
|
||||||
- targets: ["https://deploy-backend.laconic.com/staging/version"]
|
- targets: ["https://deploy-backend.laconic.com/staging/version"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Deploy Backend"
|
alias: "Deploy Backend"
|
||||||
|
url: "https://deploy-backend.laconic.com/staging/version"
|
||||||
- targets: ["https://container-registry.apps.vaasl.io"]
|
- targets: ["https://container-registry.apps.vaasl.io"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Container Registry"
|
alias: "Container Registry"
|
||||||
|
url: "https://container-registry.apps.vaasl.io"
|
||||||
- targets: ["https://webapp-deployer-api.apps.vaasl.io"]
|
- targets: ["https://webapp-deployer-api.apps.vaasl.io"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Webapp Deployer API"
|
alias: "Webapp Deployer API"
|
||||||
|
url: "https://webapp-deployer-api.apps.vaasl.io"
|
||||||
- targets: ["https://webapp-deployer-ui.apps.vaasl.io"]
|
- targets: ["https://webapp-deployer-ui.apps.vaasl.io"]
|
||||||
labels:
|
labels:
|
||||||
alias: "Webapp Deployer UI"
|
alias: "Webapp Deployer UI"
|
||||||
|
url: "https://webapp-deployer-ui.apps.vaasl.io"
|
||||||
...
|
...
|
||||||
- job_name: laconicd
|
- job_name: laconicd
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user