snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
56
zerver/webhooks/librato/fixtures/alert.json
Normal file
56
zerver/webhooks/librato/fixtures/alert.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"alert": {
|
||||
"id": 6294535,
|
||||
"name": "alert.name",
|
||||
"runbook_url": "http://www.google.pl",
|
||||
"version": 2,
|
||||
"description": "descrription"
|
||||
},
|
||||
"account": "lizonr@gmail.com",
|
||||
"trigger_time": 1459415502,
|
||||
"conditions": [
|
||||
{
|
||||
"id": 3543146,
|
||||
"type": "below",
|
||||
"threshold": 44,
|
||||
"summary_function": "sum",
|
||||
"duration": 300
|
||||
},
|
||||
{
|
||||
"id": 3651148,
|
||||
"type": "absent",
|
||||
"summary_function": "average",
|
||||
"duration": 300
|
||||
},
|
||||
{
|
||||
"id": 3651902,
|
||||
"type": "above",
|
||||
"threshold": 9,
|
||||
"summary_function": "derivative",
|
||||
"duration": 300
|
||||
}
|
||||
],
|
||||
"violations": {
|
||||
"test-source": [
|
||||
{
|
||||
"metric": "librato.cpu.percent.idle",
|
||||
"value": 2,
|
||||
"recorded_at": 1459415502,
|
||||
"condition_violated": 3543146
|
||||
},
|
||||
{
|
||||
"metric": "librato.swap.swap.cached",
|
||||
"value": 42,
|
||||
"recorded_at": 1459415502,
|
||||
"condition_violated": 3651148
|
||||
},
|
||||
{
|
||||
"metric": "librato.swap.swap.cached",
|
||||
"value": 51,
|
||||
"recorded_at": 1459415502,
|
||||
"condition_violated": 3651902
|
||||
}
|
||||
]
|
||||
},
|
||||
"triggered_by_user_test": true
|
||||
}
|
||||
11
zerver/webhooks/librato/fixtures/alert_cleared.json
Normal file
11
zerver/webhooks/librato/fixtures/alert_cleared.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"alert": {
|
||||
"id": 6309313,
|
||||
"name": "Alert_name",
|
||||
"runbook_url": "",
|
||||
"version": 2
|
||||
},
|
||||
"account": "mail@gmail.com",
|
||||
"trigger_time": 1460466704,
|
||||
"clear": "normal"
|
||||
}
|
||||
2
zerver/webhooks/librato/fixtures/bad.json
Normal file
2
zerver/webhooks/librato/fixtures/bad.json
Normal file
@@ -0,0 +1,2 @@
|
||||
{
|
||||
"alert": {
|
||||
56
zerver/webhooks/librato/fixtures/bad_msg_type.json
Normal file
56
zerver/webhooks/librato/fixtures/bad_msg_type.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"alert": {
|
||||
"id": 6294535,
|
||||
"name": "alert.name",
|
||||
"runbook_url": "http://www.google.pl",
|
||||
"version": 2,
|
||||
"description": "descrription"
|
||||
},
|
||||
"account": "lizonr@gmail.com",
|
||||
"trigger_time": 1459415502,
|
||||
"conditions": [
|
||||
{
|
||||
"id": 3543146,
|
||||
"type": "below",
|
||||
"threshold": 44,
|
||||
"summary_function": "sum",
|
||||
"duration": 300
|
||||
},
|
||||
{
|
||||
"id": 3651148,
|
||||
"type": "absent",
|
||||
"summary_function": "average",
|
||||
"duration": 300
|
||||
},
|
||||
{
|
||||
"id": 3651902,
|
||||
"type": "above",
|
||||
"threshold": 9,
|
||||
"summary_function": "derivative",
|
||||
"duration": 300
|
||||
}
|
||||
],
|
||||
"violations2": {
|
||||
"test-source": [
|
||||
{
|
||||
"metric": "librato.cpu.percent.idle",
|
||||
"value": 2,
|
||||
"recorded_at": 1459415502,
|
||||
"condition_violated": 3543146
|
||||
},
|
||||
{
|
||||
"metric": "librato.swap.swap.cached",
|
||||
"value": 42,
|
||||
"recorded_at": 1459415502,
|
||||
"condition_violated": 3651148
|
||||
},
|
||||
{
|
||||
"metric": "librato.swap.swap.cached",
|
||||
"value": 51,
|
||||
"recorded_at": 1459415502,
|
||||
"condition_violated": 3651902
|
||||
}
|
||||
]
|
||||
},
|
||||
"triggered_by_user_test": true
|
||||
}
|
||||
15
zerver/webhooks/librato/fixtures/snapshot.json
Normal file
15
zerver/webhooks/librato/fixtures/snapshot.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"attachments": [
|
||||
{
|
||||
"author_name": "Hamlet",
|
||||
"author_link": "mailto:hamlet@zulip .com",
|
||||
"author_icon": "https://secure.gravatar.com/avatar/99ca91cc7c0d8ef72fbd69a03a871a12?s=32&d=mm",
|
||||
"title": "https://metrics.librato.com/s/spaces/167315/explore/1731491?duration=72039&end_time=1460569409",
|
||||
"title_link": "https://metrics.librato.com/s/spaces/167315/explore/1731491?duration=72039&end_time=1460569409",
|
||||
"fallback": "https://metrics.librato.com/s/spaces/167315/explore/1731491?duration=72039&end_time=1460569409 by Rafal: http://snapshots.librato.com/chart/nr5l3n0c-82162.png",
|
||||
"image_url": "http://snapshots.librato.com/chart/nr5l3n0c-82162.png",
|
||||
"text": null,
|
||||
"color": "#0881AE"
|
||||
}
|
||||
]
|
||||
}
|
||||
55
zerver/webhooks/librato/fixtures/three_conditions_alert.json
Normal file
55
zerver/webhooks/librato/fixtures/three_conditions_alert.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"alert": {
|
||||
"id": 6294535,
|
||||
"name": "TooHighTemperature",
|
||||
"runbook_url": "http://www.use.water.pl",
|
||||
"version": 2,
|
||||
"description": "Measurement of temperature in your computer"
|
||||
},
|
||||
"account": "lizonr@gmail.com",
|
||||
"trigger_time": 1460407214,
|
||||
"conditions": [
|
||||
{
|
||||
"id": 4158783,
|
||||
"type": "above",
|
||||
"threshold": 4,
|
||||
"summary_function": "absolute_value",
|
||||
"duration": 300
|
||||
},
|
||||
{
|
||||
"id": 4299396,
|
||||
"type": "above",
|
||||
"threshold": 99,
|
||||
"summary_function": "max"
|
||||
},
|
||||
{
|
||||
"id": 3651148,
|
||||
"type": "absent",
|
||||
"summary_function": "average",
|
||||
"duration": 60
|
||||
}
|
||||
],
|
||||
"violations": {
|
||||
"test-source": [
|
||||
{
|
||||
"metric": "collectd.interface.eth0.if_octets.tx",
|
||||
"value": 46,
|
||||
"recorded_at": 1460407214,
|
||||
"condition_violated": 4158783
|
||||
},
|
||||
{
|
||||
"metric": "collectd.load.load.longterm",
|
||||
"value": 141,
|
||||
"recorded_at": 1460407214,
|
||||
"condition_violated": 4299396
|
||||
},
|
||||
{
|
||||
"metric": "librato.swap.swap.cached",
|
||||
"value": 42,
|
||||
"recorded_at": 1460407214,
|
||||
"condition_violated": 3651148
|
||||
}
|
||||
]
|
||||
},
|
||||
"triggered_by_user_test": true
|
||||
}
|
||||
Reference in New Issue
Block a user