Files
karma/mock/0.4.2/api/v1/status
Łukasz Mierzwa cee9b2bef6 Generate mock data using livemock.py
Generate mock data for all Alertmanager releases that we can support (0.4 - 0.6) and switch tests to use them instead of old files
Fixes #67
2017-05-02 10:28:40 +01:00

66 lines
2.5 KiB
Plaintext

{
"data": {
"config": "route:\n group_by: ['alertname', 'cluster', 'service']\n group_wait: 15s\n group_interval: 35s\n repeat_interval: 999h\n receiver: default\n\ninhibit_rules:\n- source_match:\n severity: 'critical'\n target_match:\n severity: 'warning'\n # Apply inhibition if the alertname is the same.\n equal: ['alertname', 'cluster', 'service']\n\nreceivers:\n- name: 'default'\n",
"configJSON": {
"global": {
"hipchat_auth_token": "",
"hipchat_url": "https://api.hipchat.com/",
"opsgenie_api_host": "https://api.opsgenie.com/",
"pagerduty_url": "https://events.pagerduty.com/generic/2010-04-15/create_event.json",
"resolve_timeout": 300000000000,
"slack_api_url": "",
"smtp_auth_identity": "",
"smtp_auth_password": "",
"smtp_auth_secret": "",
"smtp_auth_username": "",
"smtp_from": "",
"smtp_smarthost": ""
},
"inhibit_rules": [
{
"equal": [
"alertname",
"cluster",
"service"
],
"source_match": {
"severity": "critical"
},
"source_match_re": null,
"target_match": {
"severity": "warning"
},
"target_match_re": null
}
],
"receivers": [
{
"name": "default"
}
],
"route": {
"group_by": [
"alertname",
"cluster",
"service"
],
"group_interval": 35000000000,
"group_wait": 15000000000,
"receiver": "default",
"repeat_interval": 3596400000000000
},
"templates": null
},
"uptime": "2017-05-01T20:46:51.9830008Z",
"versionInfo": {
"branch": "master",
"buildDate": "20160902-15:33:13",
"buildUser": "root@2811d2f42616",
"goVersion": "go1.6.3",
"revision": "9a5ab2fa63dd7951f4f202b0846d4f4d8e9615b0",
"version": "0.4.2"
}
},
"status": "success"
}