Commit Graph

1624 Commits

Author SHA1 Message Date
weixiang1862 8a82ac885d
Support MongoDB monitoring (#11111)
Co-authored-by: weixiang1862 <weixiang1862@gmail.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: Harry <innerpeace.zhai@gmail.com>
2023-07-20 20:18:56 -07:00
mrproliu a3054533df
Update Golang instance metrics UI template for adapt Go Agent metrics reporter (#11121) 2023-07-20 11:38:13 -07:00
mrproliu 2a08cd86c5
Add component ID for lock frameworks (#11122) 2023-07-20 08:45:00 -07:00
kezhenxu94 1de70adb6c
Do not print sensitive properties' values in logs (#11120) 2023-07-20 07:38:05 -07:00
Wan Kai 58352ce6dc
Fix Elasticsearch storage TTL timer, move creation of the latest index before retrieval indexes by aliases to avoid the 404 exception. (#11119) 2023-07-20 21:37:10 +08:00
weixiang1862 283a860165
Fix `index out of bounds exception` in `aggregate_labels` MQE function(#11045) (#11112) 2023-07-19 13:47:02 +08:00
ethan256 88fb1faceb
Add component ID(5015) for echo, language: Golang. (#11102) 2023-07-17 02:29:27 -07:00
mrproliu 8b2fe88415
Using cache reference for query UI menu (#11099) 2023-07-17 09:07:38 +08:00
pg.yang 97e4c3a591
Apply MQE on VIRTUAL_CACHE layer UI-templates (#11098) 2023-07-16 20:09:18 +08:00
yswdqz 81dd396db6
Apply MQE on MYSQL, POSTGRESQL, REDIS, ELASTICSEARCH and DYNAMODB layer UI templates. (#11093) 2023-07-16 10:39:31 +08:00
kezhenxu94 e6e82547c8
Revert part of #10616 to fix the unexpected changes (#11089) 2023-07-14 19:19:39 +08:00
mrproliu b060dc161c
Cache all service entity in memory for query (#11086) 2023-07-14 17:12:20 +08:00
mrproliu 127c7044c6
Add i18n key for the UI menu query (#11079) 2023-07-12 14:35:38 +08:00
mrproliu 306000761c
Add description and document link into the UI menu query protocol (#11070) 2023-07-11 10:18:15 +08:00
kezhenxu94 a382112b23
Allow skipping UI menu configuration (#11068) 2023-07-10 21:59:48 +08:00
Wan Kai 1630f1afa7
[Breaking change] Change the default label name in MQE from `labe`l to `_`. (#11051) 2023-07-06 13:03:04 +08:00
weixiang1862 a8cf4fb4b6
Support reduce aggregate function in MQE.(#11031) (#11036) 2023-07-05 14:24:02 +02:00
Jiajing LU 8aab7d7ac7
Bump up BanyanDB and Java Client to 0.4.0 (#11039) 2023-07-04 18:41:23 +02:00
吴晟 Wu Sheng ab8b1f7843
Tolerate parameter value in illegal JSON format. (#11032) 2023-07-01 18:53:58 +02:00
吴晟 Wu Sheng fb19ec41ac
Set the `SW_QUERY_MAX_QUERY_COMPLEXITY` default value to 3000 (#11025) 2023-06-29 11:58:48 -04:00
weixiang1862 137fb64888
Fix instance query in JDBC implementation.(#11023) (#11024)
Co-authored-by: weixiang1862 <weixiang1862@gmail.com>
2023-06-29 18:58:00 +08:00
kezhenxu94 a3adc3d74e
Fix environment variable name (#11020) 2023-06-29 16:49:55 +08:00
mrproliu 6131e4c6a3
Support dynamic UI menu query (#11005) 2023-06-29 14:09:32 +08:00
weixiang1862 dfba1c634a
Fix metric session cache saving after batch insert when using mysql-connector-java.(#11009) (#11012) 2023-06-28 17:58:59 +08:00
Wan Kai 4b2d1ee5a4
Fix display name of `endpoint_cpm` for endpoint list in `General-Service` dashboard. (#11004) 2023-06-28 11:44:56 +08:00
Superskyyy 37b4896d47
Fix and optimize AI endpoint grouping related functionalities (#11003) 2023-06-28 06:02:38 +08:00
Gao Hongtao 5ad74eb261
BanyanDBMetricsDAO: handle storeIDTag in multiGet for BanyanDBModelExtension (#11002) 2023-06-27 15:40:20 +08:00
Brandon Fergerson c5c268b653
refactor: rename recevier to receiver (#11001) 2023-06-27 08:51:35 +08:00
dd1k e4f46db647
Add component ID(149) for Aerospike java client plugin (#11000) 2023-06-26 23:43:02 +08:00
kezhenxu94 d13d44828a
Fix ElasticSearch scroller bug (#10999) 2023-06-26 19:55:21 +08:00
吴晟 Wu Sheng 77da556c9e
Control the period of training and sync HTTP URI recognition patterns (#10997) 2023-06-26 19:02:56 +08:00
kezhenxu94 8997796a04
Revert selecting `Ready` Pods, remove `Terminating` Pods in OAP cluster (#10988) 2023-06-25 13:50:58 +08:00
kezhenxu94 cb165eb2ca
Scroll all results of Endpoint in ElasticSearch storage and refactor scrolling logics to reduce boilerplate codes (#10986) 2023-06-24 23:01:56 +08:00
Wan Kai 4d191993aa
Fix `NPE` in metrics query when the metric is not exist. (#10980)
* Fix `NPE` in metrics query when the metric is not exist.

* Fix metric name `browser_app_error_rate` in `Browser-Root` dashboard.

* Exclude istio 1.7 from testing again.

---------

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2023-06-23 14:41:31 +08:00
kezhenxu94 cf696ab698
Only list healthy Pods when forming OAP cluster (#10969) 2023-06-21 14:02:26 +08:00
Superskyyy d036224d72
Fix NPE and IllegalArgument in AI-based formatting (#10973) 2023-06-21 13:01:15 +08:00
weixiang1862 3b4f642b83
Add component ID for WebSphere.(#10887) (#10974)
Co-authored-by: weixiang1862 <weixiang1862@gmail.com>
2023-06-21 10:23:47 +08:00
吴晟 Wu Sheng 56cfa52d87
Remove `matchedCounter` from `HttpUriRecognitionService#feedRawData` (#10966)
* [Breaking change] Remove `matchedCounter` from `HttpUriRecognitionService#feedRawData`.

* * Remove patterns from `HttpUriRecognitionService#feedRawData` and add max 10 candidates of raw URIs for each pattern.

---------

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2023-06-20 13:17:05 -04:00
Wan Kai ba771097f1
Wrap `deleteProperty` API to the BanyanDBStorageClient. (#10971) 2023-06-20 23:12:26 +08:00
kezhenxu94 cb2676845b
Improve Kubernetes coordinator to only select ready OAP Pods to build cluster (#10950) 2023-06-16 21:45:19 +08:00
kezhenxu94 a23f905ce0
Add Istio ServiceEntry registry to resolve unknown IPs in ALS (#10936) 2023-06-15 20:11:19 +08:00
Jedore 294f419b0d
Add Neo4j component language: Python (#10937) 2023-06-14 21:17:42 +08:00
吴晟 Wu Sheng 1f6ea1d744
Begin 9.6.0 iteration (#10935)
* [maven-release-plugin] prepare release v9.5.0

* [maven-release-plugin] prepare for next development iteration

* Create changes-9.5.0.md

* Set changes.md for 9.6.0
2023-06-14 18:26:50 +08:00
mrproliu 1e1457b9bd
Add Continuous Profiling tab on `Mesh` layer UI-templates (#10927) 2023-06-14 11:55:09 +08:00
吴晟 Wu Sheng 848583cde5
Improve match performance of URI matching in 40% (#10923)
## Conclusion
1. In matching the first rule scenario, the new implementation(mostly due to split performance), it is 40% fast than the previous implementation.
2. Quick match has a huge advantage in GC(time and cost) and memory cost(alloc, G1 Eden and G1 Old) in every case. In my 64G M1 Max env, the regex matching even causes full GC just in the benchmark, which is only running in 2:11 mins. The regex would be a disaster for product env memory.
3. The quick match only has lower performance when the number of pattern rules is less than 4, which is nearly impossible. Even for that, Regex matching costs most GC and memory alloc in a one-time match, and 3-time cost in 4 times match.

## Other Changes
1. I made the URI cache only works in AI pipeline works, as it should. This was a bug in the previous commit.
2. `/` is not required in this case, as generally, the pattern recognition should work well for the demo name as well.
2023-06-13 20:15:40 +08:00
Wan Kai feb3ca2b6d
Add UT and E2E for MQE. (#10920) 2023-06-13 17:58:15 +08:00
mrproliu 43668b7655
Add cause message field when query continuous profiling task (#10919) 2023-06-13 11:51:56 +08:00
Marc Navarro 5dd91181a1
Consider 4xx as client side error for envoy ALS based metrics (#10905) 2023-06-13 10:41:21 +08:00
kezhenxu94 1726040a04
Migrate from kubernetes-client/java to fabric8 client (#10917) 2023-06-13 10:00:23 +08:00
weixiang1862 4c79707369
Support `sumLabeled` in `MAL` (#10885) (#10916)
Co-authored-by: weixiang1862 <weixiang1862@gmail.com>
2023-06-12 12:37:14 -05:00