Skip to content

Commit 2f3e61c

Browse files
authored
Merge pull request #1260 from bcgov/dev
update feeder metrics
2 parents 1f0cb4c + f4a61d8 commit 2f3e61c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/ISSUE_TEMPLATE/api-services-portal-bug-issue-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: API Services Portal Bug Issue Template
33
about: Generic template for bug GitHub issues
44
title: ''
5-
labels: bug, jira
5+
labels: bug
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/api-services-portal-feature-request-issue-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: API Services Portal Feature Request Issue Template
33
about: Generic template for feature request GitHub issues
44
title: ''
5-
labels: enhancement, jira
5+
labels: enhancement
66
assignees: ''
77

88
---

feeds/prometheus/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ const log = Logger('prometheus');
88

99
const queryRanges = [
1010
{
11-
query: 'sum(increase(kong_http_status[1d])) by (service,code)',
11+
query: 'sum(increase(kong_http_requests_total[1d])) by (service,code)',
1212
step: 60 * 60 * 24,
1313
id: 'kong_http_requests_daily_service_code',
1414
},
1515
{
16-
query: 'sum(increase(kong_http_status[60m])) by (service,namespace)',
16+
query: 'sum(increase(kong_http_requests_total[60m])) by (service,namespace)',
1717
step: 60 * 60,
1818
id: 'kong_http_requests_hourly_service',
1919
},
2020
{
21-
query: 'sum(increase(kong_http_status[60m])) by (namespace)',
21+
query: 'sum(increase(kong_http_requests_total[60m])) by (namespace)',
2222
step: 60 * 60,
2323
id: 'kong_http_requests_hourly_namespace',
2424
},
2525
{
26-
query: 'sum(increase(kong_http_status[1d])) by (namespace)',
26+
query: 'sum(increase(kong_http_requests_total[1d])) by (namespace)',
2727
step: 60 * 60 * 24,
2828
id: 'kong_http_requests_daily_namespace',
2929
},
3030
{
31-
query: 'sum(increase(kong_http_status[1d]))',
31+
query: 'sum(increase(kong_http_requests_total[1d]))',
3232
step: 60 * 60 * 24,
3333
id: 'kong_http_requests_daily',
3434
},

0 commit comments

Comments
 (0)