Commit Graph

29 Commits

Author SHA1 Message Date
罗泽轩
22ee20c480
feat: make A/B test APISIX easier by removing "additionalProperties = false" (#4797)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-12 09:21:10 +08:00
罗泽轩
302073ed22
test: clean fake upstream API (#4578)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:53:05 +08:00
Shuyang Wu
52a91bb846
feat: use route/service name instead of id in prometheus metric (#4004) 2021-04-09 16:02:11 +08:00
Shuyang Wu
b273ae7002
change(prometheus): redesign the latency metrics & update grafana (#3993)
Co-authored-by: nic-chen <johz@163.com>
2021-04-07 15:38:49 +08:00
Shuyang Wu
83931ba0a5
fix: refine example grafana dashboard (#3457) 2021-03-26 10:37:15 +08:00
罗泽轩
0b6d35d965
test: split prometheus test case (#3563)
Fix #3561

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-10 14:37:46 +08:00
guyang
0802c95faf
feat: add batch process metrics (#3070) 2020-12-24 19:24:46 +08:00
罗泽轩
cc9c1bb090
ci: check misspell (#3011)
Fix #3009
2020-12-10 23:05:36 +08:00
罗泽轩
f267291f3a
feat(prometheus): allow customizing Prometheus export uri (#2826)
* feat(prometheus): allow customizing Prometheus export uri

Close #2296.
2020-11-30 14:35:06 +08:00
罗泽轩
1a24c2af39
refactor(consumer): remove id and use username only (#2679)
Close #2656
Close #2653
Close #2651
2020-11-18 17:44:40 +08:00
tzssangglass
9b63fd5710
feature: prometheus plugin apisix_http_status metric route tag Improve recognition (#2497)
fix #1574
2020-10-28 13:22:25 +08:00
Joey
127dac9ebb
feat(prometheus): Add consumer metric data support (#2469)
* feat: Add consumer support for prometheus metrics

Signed-off-by: imjoey <majunjiev@gmail.com>

* Add more detailed comments for newly added consumer label

Signed-off-by: imjoey <majunjiev@gmail.com>
2020-10-21 09:32:52 +08:00
罗泽轩
4f535e7401
fix(prometheus): don't provide etcd metrics when you don't use it (#2396) 2020-10-14 16:02:08 +08:00
nic-chen
7525f1fcc9
feat(prometheus): add prometheus metrics node_info(hostname) (#2063)
* using a new metric `node_info` to store the hostname
2020-08-16 09:59:55 +08:00
nic-chen
7f64ba810e
change: add more prometheus metrics(etcd modify index) (#1888)
* feat: add more metrics for prometheus

* test: add test cases

* fix: check lint error

* remove hostname metrics. -> can't save string value.

* add more index

* add X-Etcd-Index

* fix lint

* test: add more test cases

* fix: Avoid the index to exceed 1000 by updating other keys that will causing a full reload

* add prev_index

* fix lint

* fix: fetch key first

* fix: test error

* fix update version only when waitdir error is timeout

* test

* fix: sleep more time

* fix: code style

* fix: code style
2020-07-30 15:27:00 +08:00
dabue
171db26e12
test: add test case for #1625 to test the filed of overhead (#1645) 2020-06-05 21:23:42 +08:00
YuanSheng Wang
463c521929
feature(prometheus): support to collect metric overhead (#1576)
Fix #1534 .
2020-05-12 15:47:49 +08:00
罗泽轩
be348805ea
feature: run log plugins in the global rule (#1333)
* feature: run log plugins in the global rule

Close #1202.

* register path as hello3 to avoid conflicts with other test case
2020-03-25 09:48:12 +08:00
YuanSheng Wang
0ee3c4be0e
bugfix(prometheus): the balancer IP may be nil, use an empty string i… (#1166)
* bugfix(prometheus): the balancer IP may be nil, use an empty string instead.
2020-02-27 16:14:56 +08:00
YuanSheng Wang
21c06b3cc4
plugin(prometheus): added new field (#1028)
feature: added `router_id` for http code metric.
feature: added `hostname` for nginx connection metric.
2020-01-08 14:00:31 +08:00
YuanSheng Wang
ecd4a57a24 test: reformatted by reindex tools. (#798) 2019-11-04 14:14:07 +08:00
lyyoung
89688d32ad plugin(prometheus): added new field node and new item latency. (#794) 2019-11-03 21:11:52 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
jackstraw
de1492911e bugfix: fix the wrong "method" restriction in plugin's inner api. 2019-10-30 10:41:14 +08:00
YuanSheng Wang
d06fbfa13c change: used lua-resty-jsonschema instead of lua-rapidjson. (#703) 2019-10-23 12:58:10 +08:00
Yuansheng
4bb40df857 change(test): name style. 2019-09-10 10:07:29 +08:00
Yuansheng
7dbcea8571 feature: supported to manage ssl item by admin API and HTTPS client request. 2019-06-24 18:49:30 -04:00
YuanSheng Wang
912e8b106d
feature: supported to match host of client request. (#130) 2019-06-19 12:41:38 +08:00
YuanSheng Wang
371be03810
test: added test cases for prometheus plugin. (#122)
* test: added test cases for prometheus plugin.
2019-06-17 21:08:17 +08:00