Commit Graph

735 Commits

Author SHA1 Message Date
xu1009 8e3213bd2c
Support thread pool metric collect (#95)
Co-authored-by: litexu <litexu@tencent.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2022-01-29 15:45:46 +08:00
吴晟 Wu Sheng 395ce4f86a
Release 8.9.0 and set next version to 8.10.0 (#101)
* [maven-release-plugin] prepare release v8.9.0

* [maven-release-plugin] prepare for next development iteration
2022-01-28 21:23:43 +08:00
吴晟 Wu Sheng 5bd41ec0af
Bump up gRPC to 1.44.0, fix relative CVEs. (#100) 2022-01-28 16:01:44 +08:00
Dachuan J fd1f4fe609
Support for ShardingSphere 5.0.0 (#98)
* Update ShardingSphere to 5.0.0
* Change docs
2022-01-28 10:57:23 +08:00
吴晟 Wu Sheng 592fe29d13
Lock the Spring version in plugin test. (#99)
* Lock the Spring version in plugin test.
2022-01-28 09:33:51 +08:00
kezhenxu94 75cc77de10
Migrate base images to Temurin and add images for ARM (#97) 2022-01-26 16:09:44 +08:00
ArjenDavid-sjtu 8a1dae348c
Support configuration to collect redis parameters for jedis plugin (#91)
Co-authored-by: 温嘉鸣 <wenjiaming@shouqianba.com>
2022-01-14 00:50:40 +08:00
xu1009 634cf279a9
Support collecting metrics of ZGC (#89)
Co-authored-by: litexu <litexu@tencent.com>
2022-01-13 15:11:00 +08:00
吴晟 Wu Sheng 7b160b5fec
Follow protocol grammar fix `GCPhrase -> GCPhase` (#90) 2022-01-12 23:10:58 +08:00
wuwen dfda1aafca
Compatible with the versions after dubbo-2.7.14 (#88)
The ```rpcContext.getAttachments()``` method returns is a copy Map
2022-01-12 19:36:15 +08:00
Ze 96ea77cf8f
Fix the bug that httpasyncclient-4.x-plugin puts the dirty tracing context in the connection context (#86) 2021-12-21 11:16:26 +08:00
Daniel Qian bc90371daa
Add returnedObj expression support for apm-customize-enhance-plugin (#83)
* issue #8292, add returnedObj expression support for apm-customize-enhance-plugin

* update apm-customize-enhance-plugin use plugin V2 API
2021-12-14 22:34:25 +08:00
DominikHubacek 438f287961
Fix <TracePathMatcher should match pattern "**" with paths end by "/"> (#81)
Co-authored-by: Dominik Hubacek <dominik.hubacek@student.tuke.sk>
Co-authored-by: Kanro <higan@live.cn>
2021-12-10 19:45:39 +08:00
tedli ee5bb80fc3
dubbo3 plugin support (#73) 2021-12-10 14:35:30 +08:00
wallezhang 2557749617
feat: Support version 2.8 and 2.9 of pulsar client (#76)
* feat: Support version 2.8.0+ of pulsar client

* refactor: Rename pulsar-plugin to pulsar-2.2-2.7-plugin
2021-12-06 17:25:04 +08:00
Daniel Qian 3b93a9c398
Optimize ProfileTaskChannelService (#78)
related issue  https://github.com/apache/skywalking/issues/8221
1. Avoid ProfileTaskChannelService.addProfilingSnapshot throw IllegalStateException(Queue full)
2. Increase ProfileTaskChannelService.snapshotQueue default size from 50 to 4500
2021-12-02 15:14:34 +08:00
Daniel Qian ce609dbabe
Add doc about system environment variables to configurations.md (#79) 2021-12-02 11:24:49 +08:00
kezhenxu94 c49c9d3f52
Correct the CHANGELOG about gRPC version (#75) 2021-11-29 17:33:55 +08:00
kezhenxu94 005e334dbc
Upgrade grpc-java to 1.42.1 and protoc to 3.19.1 to allow using native Mac osx-aarch_64 artifacts (#74) 2021-11-29 11:59:17 +08:00
Jared Tan b169ef3cdd
Support set instance properties in json format (#67)
* set instance properties in json format: agent.instance_properties_json

* add docs.

* Update docs/en/setup/service-agent/java-agent/configurations.md

* polish and add e2e.

* update

* Update test/e2e/case/expected/service-instance.yml

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* Update apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/util/InstanceJsonPropertiesUtil.java

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* update

* update SW_INSTANCE_PROPERTIES_JSON

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2021-11-07 18:51:34 +08:00
kezhenxu94 8eceb1166f
Build CLI from Docker instead of source codes, add alpine based Docker image (#65) 2021-11-02 15:43:08 +08:00
will2020-power 1308d3c0ae
[Enhance]For trace CompletableFuture thenApply or thenAccept (#60) 2021-11-01 21:36:34 +08:00
吴晟 Wu Sheng 0758e7c569
Add FAQ about `Why is -Djava.ext.dirs not supported?` (#63) 2021-10-31 21:48:37 +08:00
Jiajing LU c17acbe552
Support Jedis' Transaction and fix duplicated enhancement (#57) 2021-10-28 09:33:41 +08:00
wankai123 ec1b7a19a4
Initialize 8.9.0 iteration (#59) 2021-10-27 22:57:09 +08:00
cnScarb 30fb81a6de
fix rocketmq message header properties garbled characters issue (#54) 2021-10-27 09:16:27 +08:00
xu1009 9101f691fb
Add okhttp2.x plugin (#49)
Co-authored-by: litexu <litexu@tencent.com>
2021-10-25 22:40:37 +08:00
吴晟 Wu Sheng 2fd1853d8c
Add JDK17 supported declaration. (#52) 2021-10-16 20:40:42 +08:00
吴晟 Wu Sheng 71dd60d5e8
Fix instrumentation v2 API doesn't work for constructor instrumentation. (#51) 2021-10-13 22:56:38 +08:00
xu1009 0f6276b71c
Add kylin jdbc plugin (#45) 2021-10-12 21:35:58 +08:00
Jiajing LU 2ecdc18901
Fix version compatibility for JSON-RPC4J Plugin (#50) 2021-10-12 17:33:59 +08:00
wallezhang 813fc31bd2
Feature add clickhouse jdbc plugin (#41) 2021-10-11 11:37:58 +08:00
CharliePu 5133faab4a
The httpasyncclient-4.x-plugin does not take effect every time. (#40) 2021-09-29 17:37:47 +08:00
业余布道师 77c4eb4edc
Add an agent plugin to support Jackson (#39) 2021-09-27 17:25:32 +08:00
wankai123 3997f02560
Format Springmvc & Tomcat EntrySpan operation name to `METHOD:URI` (#37) 2021-09-26 15:04:13 +08:00
wuguanyu 1b90f6892b
fix NumberFormat exception in MysqlURLParser (#36)
Delegate @ascrutae 's approval, his GitHub account has an issue for now.
2021-09-25 20:59:49 +08:00
业余布道师 c5657e83b3
Add Fastjson plugin (#35) 2021-09-24 18:05:47 +08:00
CharliePu 8b0f0e1bb7
Support for Apache HttpClient 5 plugin (#31) 2021-09-24 12:55:38 +08:00
吴晟 Wu Sheng 43f2069080
Upgrade byte-buddy to 1.11.18 (#30) 2021-09-23 11:42:52 +08:00
Daming 7d36faaf0f
Add Kafka LogReporter and make grpc log reporter sharing grpc channel with reporters (#20) 2021-09-23 10:50:34 +08:00
furaul 43839e02aa
Fix a tracing context leak in SpringMVC plugin (#34)
* Once the springMVC span is created in beforeMethod, it must be stopped in afterMethod. Or it may cause memory leak.

Authored-by: furao <furao@didiglobal.com>
2021-09-22 21:20:02 +08:00
业余布道师 3e97740036
Add HikariCP connection pool plug-in. (#29) 2021-09-20 15:21:57 +08:00
业余布道师 26f1d986a2
Add plugin for Alibaba Druid connection pool. (#27) 2021-09-19 22:52:32 +08:00
Jiajing LU a7a74a4067
Chore: Add benchmark and improve docs for exception-ignore plugin (#25)
* add benchmark and improve docs

Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>

* modify changelog and copy benchmark results to the docs
2021-09-14 16:38:54 +08:00
zifeihan 0e45ed0b13
Add thrift plugin support thrift TMultiplexedProcessor. (#22) 2021-09-14 09:31:24 +08:00
lpcy f191953689
fix multi-db-instance on same host port (#18) 2021-09-04 22:03:25 +08:00
Darcy c872adc20c
optimize lettuce plugin (#17) 2021-09-02 20:38:55 +08:00
Daming dd0d8afe88
Support mTLS for gRPC channel (#15) 2021-08-31 15:56:30 +08:00
吴晟 Wu Sheng fc79937619
Doc polish, remove unrelated documents and fix source code LICENSE (#5) 2021-08-27 10:08:36 +08:00
wankai123 be0f57ae28
Support k8s configmap grouped dynamic configurations (#7570)
* Support k8s configmap grouped dynamic configurations

* Support single config read from multiple configmaps
2021-08-26 15:30:11 +08:00
wankai123 abcd87f811
Support collection type in dynamic configuration core and add zookeeper implementation (#7509)
* Support grouped dynamic configurations in DCS.
Support zookeeper grouped dynamic configurations.

* change to @Slf4j

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-23 18:09:33 +08:00
Daming a2e011f9b0
Kafka extra producer configuration enhancement (#7526) 2021-08-23 17:16:19 +08:00
kezhenxu94 7b206458fe
Fix NPE when OAP nodes synchronize events with each other in cluster mode (#7531) 2021-08-23 13:18:21 +08:00
Fine0830 fb0f2cf1f1
sync ui (#7523) 2021-08-21 15:42:41 +08:00
吴晟 Wu Sheng c04b4e0e51
Fix distinct in Service/Instance/Endpoint query is not working. (#7482) 2021-08-18 20:30:15 +08:00
kezhenxu94 09cc0f96a7
Harden the security of Groovy-based DSL, MAL and LAL (#7485) 2021-08-18 18:17:43 +08:00
kezhenxu94 1af2e46e33
Add a new API to test log analysis language (#7475) 2021-08-18 16:40:25 +08:00
kezhenxu94 6bb4d35ce8
Add all agent config to `agent.conf` file for convenient containerization use cases (#7470)
* Add all agent config to `agent.conf` file for convenient containerization use cases

* Fix name and default value
2021-08-18 10:25:28 +08:00
CharliePu 39d23c1678
Remove the duplicated tags to reduce the storage payload. (#7469) 2021-08-17 18:01:56 +08:00
王旺 77bf5de7f6
Polish otel receiver doc (#7464)
* modify receiver and vm-monitoring doc

* Polish the doc.

* Add changelog.

Co-authored-by: wang <wang@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-16 11:31:15 +08:00
hailin0 ce45397c56
Fix kafka-reporter-plugin shade package conflict (#7463)
* Fix kafka-reporter-plugin shade package conflict

Don't shade lz4, snappy or zstd package because they call native library files.
2021-08-15 21:55:45 +08:00
wallezhang 4b66f1e0a7
fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271)
* fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently. #6562

1. Rename current STATUS_CODE to HTTP_RESPONSE_STATUS_CODE, real tag key should be http.status_code.
2. Add a new string tag RPC_RESPONSE_STATUS_CODE to hold all string type value tag. The key is `rpc.status_code`.
3. At the backend, keep responseCode for HTTP_RESPONSE_STATUS_CODE tag, but add @Deprecated. Also, add httpResponseStatusCode(a duplicate of responseCode) and rpcStatusCode(for RPC_RESPONSE_STATUS_CODE) fields for OAL.

* Modify `Tags.STATUS_CODE` field name to `Tags.HTTP_RESPONSE_STATUS_CODE` and type from `StringTag` to `IntegerTag`, add `Tags.RPC_RESPONSE_STATUS_CODE` field to hold rpc response code value.

* Add `rpcStatusCode` for `rpc.status_code` tag in the OAL objects. The `responseCode` field is marked as deprecated and replaced by `httpResponseStatusCode` field. 

* Tag `status_code` is still supported in the backend for forward compatbility. Will be removed one year later.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-14 20:17:46 +08:00
吴晟 Wu Sheng dc05539361
DataCarrier changes a `#consume` API to add properties as a parameter to initialize consumer (#7452) 2021-08-13 14:05:10 +08:00
probeyang 35dd15bfbf
Add component id and icon for Python falcon plugin (#7446) 2021-08-12 12:17:01 +08:00
Fine0830 18ae82f2d1
update changlog (#7445) 2021-08-12 09:58:58 +08:00
吴晟 Wu Sheng 6a241aed75
[Break Change] Remove endpoint name in backend log and browser log query (#7444)
* Remove page path in the browser log query condition.

* Remove endpoint name in the backend log query condition.
2021-08-12 09:44:19 +08:00
Jared Tan 375138887a
update jdk 11 in dockerfile and remove unused java_opts. (#7441)
* update jdk 11 and remove unused java_opts.
2021-08-11 19:27:25 +08:00
吴晟 Wu Sheng de6cae3429
[Break Change] Remove endpoint name in the trace query condition. (#7438)
* [Break Change] Remove endpoint name in the trace query condition.

* Fix a local UT error(MacOS only)
2021-08-11 16:27:10 +08:00
Kagaya 9a05ad4b42
Add component id for go-kratos & go-mysql (#7428) 2021-08-10 15:42:20 +08:00
Yihao Chen ac4330c0bc
Add a doc section for Python agent log reporter. (#7430) 2021-08-10 15:39:09 +08:00
kezhenxu94 85e22f5124
Fix issues in ES7.14 and add log cases to ES7.14 (#7429) 2021-08-10 15:36:53 +08:00
吴晟 Wu Sheng cc66254729
Remove statement, version, and endtime from segment entity. (#7427) 2021-08-10 00:05:06 +08:00
Halil Onur Çeçen bca62f63fa
Openapi-definitions file loader fix (#7417)
* excluded openapi-definitions resource folder

jar class loader comes before runtime config folder

* update CHANGES.md

* include openapi-definitions folder in bin packages.

Co-authored-by: Halil Onur Cecen <HalilOnur.Cecen@sahibinden.com>
2021-08-07 09:53:48 +08:00
wankai123 4e7d80fb88
Support Metric level function `serviceRelation` in `MAL` and binding envoy metrics into the topology. (#7399)
* Support Metric level function `serviceRelation` in `MAL`.
* Support envoy metrics binding into the topology.
* add istio args
* remove istio 1.7

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: Jared Tan <jian.tan@daocloud.io>
Co-authored-by: Zhenxu <kezhenxu94@apache.org>
2021-08-06 17:09:13 +08:00
Daming 9ecb9fd87c
add event http receiver (#7406) 2021-08-04 15:53:48 +08:00
Jared Tan 9b30d0edfd
fix not found error when refresh ui. (#7403)
* fix not found error when refresh ui.

* add CHANGES.md

* Update CHANGES.md

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-04 08:03:03 +08:00
吴晟 Wu Sheng 651f7f16ca
Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (#7400) 2021-08-03 12:38:08 +08:00
ThisSeanZhang 0b418bf379
Support Multiple DNS period resolving mechanism (#7398) 2021-08-02 11:16:21 +08:00
吴晟 Wu Sheng 81f7be1315
Reset changelog for 8.8.0 (#7396) 2021-07-30 23:07:20 +08:00
Fine0830 b3f81acba3
sync ui (#7393) 2021-07-30 09:53:51 +08:00
wallezhang b74778f0f4
fix: fix spring gateway plugin npe (#7389) 2021-07-29 21:08:27 +08:00
Gao Hongtao 1f28d2036a
Add logging module to load log configuration dynamically (#7377)
* Add logging module to load log configuration dynamically

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2021-07-29 19:55:22 +08:00
kezhenxu94 65e8ab3ecc
Log rate limit sampler rename `qps` to `rpm` (#7384) 2021-07-29 18:11:07 +08:00
wuwen 85669fb40f
Fix `GRPCLogClientAppender` no context warning. (#7385) 2021-07-29 16:52:52 +08:00
pkxiuluo ffc69dc6f3
ES storage support set order of index template. (#7378) 2021-07-27 20:13:31 +08:00
LEE ea76335527
Avoid "select *" query (#7372) 2021-07-27 15:50:55 +08:00
Switch 68e699550d
Add Thread and ClassLoader Metrics for the self-observability and otel-oc-rules (#7367)
* Add Thread and ClassLoader Metrics for the self-observability

* update CHANGES.md

* update OC receiver MAL settings
2021-07-25 07:32:03 +08:00
Jared Tan 90de9f9515
add sending Envoy Metrics to OAP example within envoy 1.19 and bump up to Envoy V3 api. (#7366)
* bump up envoy metrics service sinks version. and update envoy.yaml config for demo.
2021-07-23 22:59:51 +08:00
ArjenDavid-sjtu 8820287f38
Improve okhttp plugin performance by optimizing Class.getDeclaredField(). (#7364)
Simple polish only.
2021-07-23 22:00:24 +08:00
Cool-Coding a7abb1f590
remove the logic of generated instance name in KafkaServiceManagementServiceClient prepare phase(#7357) (#7358) 2021-07-22 22:41:22 +08:00
吴伟杰 da9426dd6e
Upgrade agent plugin for ElasticJob 3.0.0 GA version (#7345)
* Upgrade agent plugin for ElasticJob 3.0.0 GA version.

* Remove 3.0.0 alpha support.
2021-07-22 15:30:00 +08:00
Ax1an 383e32b44b
Fix the persistent session timeout mechanism bug. (#7347) 2021-07-22 05:50:19 +08:00
Huang bf0e22d2c1
Fix IllegalArgumentException in PrometheusMetricConverter and NaN value samples in SampleFamily (#7349) 2021-07-21 23:14:49 +08:00
Ax1an 3704567b21
Fix possible version_conflict_engine_exception in bulk execution. (#7354) 2021-07-21 20:48:52 +08:00
吴晟 Wu Sheng bd23f263e6
Revert "Adjust the project structure of the alarm module" (#7342)
This reverts commit 62411964a4.
2021-07-20 19:47:22 +08:00
wankai123 a1c53bb866
doc: Add Self Observability service discovery (k8s) (#7339) 2021-07-20 18:02:51 +08:00
Jared Tan 62411964a4
update (#7340) 2021-07-20 16:27:26 +08:00
Cool-Coding 7654161721
Fix the problem of Kafka transport topics are created duplicated with and without namespace (#7326) (#7329) 2021-07-20 08:50:36 +08:00
吴晟 Wu Sheng 3a4ee08e54
Enhance persistent session timeout mechanism. (#7334)
Fix bug, the enhanced session could cache the metadata metrics(hot entity) forever. A new timeout mechanism is designed for avoiding this specific case.

Optimize this timeout mechanism, make it different for ES(one index per day) and non-ES storage implementation.
2021-07-20 07:50:27 +08:00
kezhenxu94 4003c4b777
Publish snapshot Docker images (#7337) 2021-07-19 22:19:11 +08:00
Cool-Coding 467a95b61d
Fix the problem of -meters metrics topic isn't created with namespace prefix (#7325) (#7330) 2021-07-19 14:58:24 +08:00
吴伟杰 06e589fab0
Remove plugins for ShardingSphere legacy and unstable versions (#7323)
Remove the following plugins due to they are legacy and unstable releases.
1. sharding-jdbc-1.5.x-plugin
2. sharding-sphere-4.x-rc3-plugin
3. sharding-sphere-4.x-plugin (This is for RC1 and RC2)

To people who want to use these removing versions, you still could copy the plugins from SkyWalking's 8.6.0 release to the '/plugins' folder to activate, unless SkyWalking has some core level APIs upgrade. This is very rare to happen.
2021-07-18 20:35:54 +08:00
yujiaxinlong aa4ee27d4a
fix gateway plugin async finish repeatedly when fallback configured (#5886)
When there is a fallback in webflux (like a hystrix fallback or a webflux fallback method that involves visiting a new URL). This interceptor would be invoked twice, one for origin request and another for fallback request. The ServerWebExchange for these two aren't exactly the same one, but the former one is a delegate inside of the latter one, thus, they share the same attributes.

The problem of the old code is that get the span from attributes within the execution of Mono would get span for the latter request twice. so just move this part of code out could solve the problem.

It seems impossible to make the mono chain work like expected. So add a check about whether the best matching pattern really matches the URL. This check code is how webflux generating the best match pattern,
2021-07-17 20:50:57 +08:00
Lu Jiajing cd029df360
Chore: polish methods naming for Spring Kafka (#7320) 2021-07-17 17:09:51 +08:00
吴晟 Wu Sheng a6afcac86e
Logically revert #6642 and partial #7153 to reduce unnecessary thread and concurrency process (#7318)
The key logic behinds all these is, metrics persistence is fully asynchronous.

* The core/maxSyncOperationNum setting(added in 8.5.0) is removed due to metrics persistence is fully asynchronous.
* The core/syncThreads setting(added in 8.5.0) is removed due to metrics persistence is fully asynchronous.
* Optimization: Concurrency mode of execution stage for metrics is removed(added in 8.5.0). The only concurrency of prepare stage is meaningful and kept.
* Remove the outside preparedRequest list initialization, worker instance could always build a suitable size list in the first place (Reduce Array.copy and GC load a little).
2021-07-17 16:03:50 +08:00
wankai123 9f3ff517d1
Support envoy cluster manager metrics (#7294) 2021-07-16 15:35:48 +08:00
吴晟 Wu Sheng 8df362b929
Adjust ElasticSearch index refresh period as INT(flushInterval * 2/3) (#7310)
Adjust index refresh period as INT(flushInterval * 2/3), it used to be as same as bulk flush period. At the edge case, in low traffic(traffic < bulkActions in the whole period), there is a possible case, 2 period bulks are included in one index refresh rebuild operation, which could cause version conflicts. And this case can't be fixed through core/persistentPeriod as the bulk fresh is not controlled by the persistent timer anymore.

This PR should avoid the following exception in the low load case, especially when bulkActions is set larger than the number of a metric type.
2021-07-16 12:10:35 +08:00
吴晟 Wu Sheng c59ee90029
Performance: optimize IDs read of ElasticSearch storage options(6 and 7) (#7307)
* Performance: optimize IDs read of ElasticSearch storage options(6 and 7). Use the physical index rather than template alias name.
2021-07-15 18:06:11 +08:00
吴晟 Wu Sheng 097a8b7231
Reduce the flush period of hour and day level metrics (#7299) 2021-07-15 07:36:12 +08:00
吴晟 Wu Sheng de975c7e2b
Remove synchronous persistence mechanism in API level and ElasticSearch implementation (#7293)
* Performance: remove the synchronous persistence mechanism from batch ElasticSearch DAO. Because the current enhanced persistent session mechanism, don't require the data queryable immediately after the insert and update anymore.
* Performance: share `flushInterval` setting for both metrics and record data, due to `synchronous persistence mechanism` removed. Record flush interval used to be hardcoded as 10s.
* Remove `syncBulkActions` in ElasticSearch storage option.
* Increase the default bulkActions(env, SW_STORAGE_ES_BULK_ACTIONS) to 5000(from 1000).
* Increase the flush interval of ElasticSearch indices to 15s(from 10s)

Add these 2 references. According to these, **(same _index, _type and _id) in same bulk will be in order**
1. https://github.com/elastic/elasticsearch/issues/50199
2. https://discuss.elastic.co/t/order-of--bulk-request-operations/98124

Notice, the order of different bulks is not guaranteed by the ElasticSearch cluster. We are going to have the risk of dirty write. But consider we set over 20s period between flush, and index flush period is 10, we should be safe.

Recommend 5000 bulk size and 15s flush interval only. The persistent period has been set to 25s.
2021-07-14 17:19:49 +08:00
kezhenxu94 982001c63a
perf: optimize Envoy access log persistence performance (#7290) 2021-07-13 18:44:52 +08:00
Elliot Duan 6228d450e1
support Kafka SASL login module. (#7281)
Co-authored-by: Elliot Duan <elliot.duan@homecreditcfc.cn>
2021-07-11 22:39:51 +08:00
Fine0830 a5b855d3a7
sync ui (#7279) 2021-07-10 22:49:09 +08:00
kezhenxu94 d79094c178
Add pagination to event query (#7274) 2021-07-09 23:04:50 +08:00
kezhenxu94 fd92f4678a
perf: optimize Groovy-based LAL DSL with static compilation (#7263)
Groovy naturally supports many dynamic features that we don't benefit for now but cost performance loss, in this patch we compile our Groovy-based DSL scripts statically to optimize performance.
2021-07-09 18:00:25 +08:00
Ax1an 58dce444fc
Enhance the compatibility of `mysql-8.x-plugin` plugin. (#7261)
hostInfo.getDatabaseUrl() result in version 8.0.19 or above:

jdbc:mysql:loadbalance://**internally_generated**1620805591623**

hostInfo.getDatabaseUrl() result in version 8.0.18 or below:

jdbc:mysql:replication://127.0.0.1:3306,127.0.0.1:3306,127.0.0.1:3306/mer_goods_admin_sit?useSSL=true&useUnicode=true&autoReconnect=true&rewriteBatchedStatements=TRUE&allowMultiQueries=true&serverTimezone=GMT%2B8
2021-07-08 17:55:00 +08:00
whl12345 9e022d1a73
Provide plugin for Guava Cache (#7235) 2021-07-08 11:58:09 +08:00
Switch 4067fba2ab
Add some new thread metric and class metric to JVMMetric (#7230) (#7243) 2021-07-07 16:30:55 +08:00
Sergi Castro d15b67bd97
Allow configuring max request header size (#7249)
* Allow configuring max request header size

This allows configuring the HTTP max request header size from the jetty
server.
By default it uses 8192, the same jetty default.
2021-07-06 15:10:15 +08:00
Daming 5dd56a5ca4
Upgrade etcd cluster coordinator and dynamic configuration to v3.x (#7215) 2021-07-05 11:23:11 +08:00
Jared Tan 0efc733901
Replace zuul proxy with spring cloud gateway 2.x. in webapp module. (#7220) 2021-07-04 10:24:56 +08:00
mrproliu 156678a8bf
Move ehcache-2.x plugin as optional (#7236) 2021-07-03 16:56:05 +08:00
Daming 022bf38116
Fix InfluxDB storage-plugin Metrics#multiGet issue (#7238) 2021-07-03 13:58:27 +08:00
liqiangz 0f62d9289f
Add agent plugin to support Sentinel (#7190) 2021-07-03 00:20:14 +08:00
Lin1997 58a370100a
Fix issue that webfluxwebclient plugin async finish repeatedly in multi thread (#7229) 2021-07-02 18:24:25 +08:00
AngryMills 04bb6673b8
support parameter collection for sqlserver (#7217) 2021-07-02 10:27:10 +08:00
吴晟 Wu Sheng f32d3d0720
Enhance the storage session mechanism (#7221) 2021-07-01 23:25:52 +08:00
CharliePu 27e59868f4
sync ui and update CHANGES log (#7205) 2021-07-01 15:23:55 +08:00
hn abd36dfc94
fix some method exception error (#7210) 2021-07-01 10:59:03 +08:00
吴晟 Wu Sheng 536b7d2328
Support connectTimeout and socketTimeout settings (#7214) 2021-07-01 08:20:59 +08:00
吴伟杰 0975809e43
Add an agent plugin for ShardingSphere 5.0.0-beta (#7171) 2021-06-30 21:00:20 +08:00
kezhenxu94 dcefc69edf
Doc: update doc to declare that zookeeper 3.5+ is required in cluster coordinator (#7212) 2021-06-30 19:21:02 +08:00
吴晟 Wu Sheng 50a0bcbf73
Optimize L1 aggregation, enhance gRPC client between L1 and L2 aggregation. (#7206)
1.0Performance: Add L1 aggregation flush period, which reduces the CPU load and helps young GC.

2. Replace do not direct send after the first aggregation to reduce the network #6400.

3. Enhance the DataCarrier to notify the consumer in no enqueue event in short term.

4. L1 aggregation flush period still works even no further metrics generated, powered by <3>

5. Fix gRPC remote client OOM. The concurrency control mechanism failed.
2021-06-30 19:14:20 +08:00
吴晟 Wu Sheng 16ebaade6a
Optimize IDs reading in the persistent worker. (#7193)
* Optimize IDs reading in the persistent worker.
2021-06-30 10:17:46 +08:00
kezhenxu94 f5b7c3e32d
Perf: cache metrics id and entity id (#7201)
There are a lot of calls to `Metrics.id()` and `ISource.getEntityId`, which calculates the id by manipulating strings in every single call, producing many garbage objects.

In this patch, I cache the id and only calculate the id if it's requested for the first time.
2021-06-29 22:48:51 +08:00
kezhenxu94 84a7fe30c8
Perf: cache regex pattern and result, optimize string concatenation (#7199)
The possible metrics names are relatively fixed in an OAP run, we previously always escape the metrics names, building a new regex Pattern from scratch, which is cpu-consuming.

In this patch, I cache the escaped metrics names, and if it missed, use a pre-compiled regex Pattern to escape the metrics name.

This patch also replace string concatenation `+` with `StringBuilder` in generated classes, which won't get optimized by Java compiler

This may reduce 1~1.5 vCPU under 20K RPS environment.
2021-06-29 17:46:42 +08:00
zhyyu b8fadec033
fix slow db dynamic config bug (#7192) 2021-06-29 16:41:01 +08:00
Alvin a966eea35c
Support prepare and save metrics concurrency (#7153) 2021-06-29 14:34:29 +08:00
kezhenxu94 de1d0461cc
perf: trim useless metadata fields in ALS to improve performance (#7191)
These fields in `stateMap` metadata are not used by `metadata-service-mapping.yaml` now and there is low possibility that they may be used in real case, but, they cost a lot to deserialize, so we remove them to improve performance

From what I've tested, the analyzer can process 250k ALS logs before trimming the fields and can process 420k ALS logs after trimming the fields
2021-06-28 22:18:14 +08:00
liqiangz d63f3ffcc1
revert #7091 (#7189) 2021-06-28 21:05:28 +08:00
Fine0830 273bc5bc0b
Sync UI (#7187) 2021-06-28 18:58:34 +08:00
844067874 e1aad420db
fix the response time of gRPC is not right. (#7179) 2021-06-28 18:55:27 +08:00
kezhenxu94 e7bc81abbb
Perf: optimize Envoy ALS analyzer performance in high traffic load scenario (reduce ~1cpu in ~10k RPS) (#7182) 2021-06-27 17:56:59 +08:00
Daming d8a5e8c15b
eliminate `now` error at a fixed rate schedule executor (#7145) 2021-06-24 09:24:48 +08:00
tangxqa 3541c32530
Update agent.config (#7163) 2021-06-23 16:43:39 +08:00
Fine0830 d6f21a9562
Sync UI (#7160) 2021-06-23 09:53:06 +08:00
wallezhang 1bc69370bf
feat: add neo4j-4.x-plugin (#7099) 2021-06-22 15:36:51 +08:00
kezhenxu94 ab6285c5a4
Add JDK 16 to test matrix, move bom to backend profile (#7139) 2021-06-20 23:24:02 +08:00
kezhenxu94 3536b3c1c4
Extract dependency management to a bom (#7136) 2021-06-20 20:57:26 +08:00
wankai123 19a068d708
Feature: support endpoint name grouping by OpenAPI definitions. (#7130) 2021-06-20 07:57:10 +08:00
kezhenxu94 528ee6de40
OAL supports generating metrics from events (#7134)
* OAL supports generating metrics from events

* Add new dashboard for event metrics

* Add some docs for event metrics
2021-06-19 20:20:37 +08:00
kezhenxu94 edf6fccf9c
Upgrade commons-lang3 to avoid potential NPE in some JDK versions (#7133) 2021-06-18 21:18:05 +08:00
吴晟 Wu Sheng e21cb196fc
Remove deprecated nameResolverFactory method. (#7132) 2021-06-18 20:14:51 +08:00
zhyyu 4698681e7c
Support authentication for log report channel. (#7131) 2021-06-18 16:09:55 +08:00
Ax1an 402902f75c
Agent supports the collection of JVM arguments and jar dependencies information. (#7069) 2021-06-17 15:30:44 +08:00
吴晟 Wu Sheng 2dd5eea56e
Fix markdown format issue. (#7123) 2021-06-16 13:46:58 +08:00
Gao Hongtao 669fe1593c
Upgrade OAP dependencies (#7119)
* Introduce trivy to scan images

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Fix CVE

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update licenses

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Remove log4j 1.x

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update CHANGES.md

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update LICENSE refer to webapp

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-06-16 12:14:39 +08:00
Zhenxu efcb396f73
Only count 5xx as error in Envoy ALS receiver (#7111) 2021-06-12 07:09:48 +08:00
liqiangz 7a3355f956
Use MAL to calculate JVM metrics, remove OAL dependency. (#7091) 2021-06-11 22:21:10 +08:00
mrproliu 553dd7c061
Disable spring sleuth analyzer by default (#7106) 2021-06-11 16:59:57 +08:00
wallezhang 1c5dab8463
refactor: EntrySpan and ExitSpan support modifying attributes in async mode (#7086) 2021-06-10 13:11:00 +08:00
吴晟 Wu Sheng 5eb1021639
Initialize 8.7.0 iteration (#7078) 2021-06-08 07:41:09 +08:00
Qiuxia Fan 144210b105
sync ui (#7075) 2021-06-06 15:07:26 +08:00
Qiuxia Fan 3097366369
sync ui (#7073) 2021-06-05 21:12:49 +08:00
Jared Tan 17abef4c59
polish debug logging avoid null value when segment be ignored. (#7070)
* polish debug logging avoid null value.

* update CHANGES.md.
2021-06-05 19:23:46 +08:00
Zhenxu 56f2e86a07
CVE: upgrade snakeyaml to prevent billion laughs attack in dynamic configuration. (#7071) 2021-06-05 14:41:46 +08:00
Leon Yang d5348c93de
Fix: TraceIgnorePathPatterns can't set empty value (#7059) 2021-06-02 23:18:31 +08:00
Zhenxu e3312c7834
Feat: Implement metrics templates in the topology (#7058) 2021-06-02 20:45:28 +08:00
wankai123 3034963374
Fix Jetty HTTP `TRACE` issue, disable HTTP methods except `POST`. (#7052) 2021-06-01 16:37:56 +08:00
CharliePu b26f407e17
Sync ui and update CHANGES log (#7044) 2021-06-01 10:34:53 +08:00
Zhenxu 9e66bee7a0
Make metrics exporter still work even when storage layer failed (#7041) 2021-05-31 17:37:58 +08:00
Zhenxu bd38ec492e
Add HTTP implementation of logs reporting protocol (#7038) 2021-05-30 22:35:55 +08:00
Daming 9701bd0944
Make the number of core worker in meter converter thread pool configurable (#7027) 2021-05-27 23:10:22 +08:00
Zhenxu 68b918e3cd
Events can be configured as alarm source (#7028) 2021-05-27 18:04:21 +08:00
Lu Jiajing 7ae2b74a64
Optimize Class.getDeclaredField in Feign plugin (#7017) 2021-05-26 19:01:16 +08:00
muyun12 e9b9be4ab5
Fix jdk-threading-plugin memory leak #7001 (#7003) 2021-05-26 06:47:47 +08:00
Zhenxu Ke 379c4e1a46
Allow multiple definitions as fallback in `k8sServiceNameRule`. (#7006) 2021-05-25 17:33:07 +08:00
吴晟 Wu Sheng 3d188e60f7
Fix counter misuse in the alarm core. Alarm can't be triggered in time. (#7005)
* Fix counter misuse in the alarm core

* Submit changelog
2021-05-25 16:37:21 +08:00
liqiangz 32718d1d07
sync ui (#7002) 2021-05-24 21:29:14 +08:00
Lu Jiajing b732ff35a7
Fix ClassCast issue for RequestHolder/ResponseHolder (#6973) 2021-05-22 17:06:13 +08:00
Daming 187da9862f
Update CHANGES.md (#6991) 2021-05-21 15:22:55 +08:00
hailin0 47fef5df22
Support native-json format log in kafka-fetcher-plugin (#6952) 2021-05-20 16:33:44 +08:00
zifeihan 97c42d2f86
Fixed part of the dynamic configuration of ConfigurationDiscoveryService that does not take effect under certain circumstances. (#6975) 2021-05-20 07:52:49 +08:00
zifeihan 104f398b5b
Fix the conversion problem of float type in ConfigInitializer. (#6974) 2021-05-20 05:50:16 +08:00
chen~ bb590daba9
Include event(s) to alarms. (#6888)
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-05-19 14:14:48 +08:00
wallezhang d14148d42e
fix: Fix macos test script command not found error. #6846 (#6964)
Co-authored-by: Zhenxu Ke <kezhenxu94@apache.org>
2021-05-19 13:13:29 +08:00
liqiangz e7d6b5457b
Fix: `!=` is not supported in oal when parameters are numbers (#6968) 2021-05-19 09:10:04 +08:00
吴晟 Wu Sheng 47b46f93ca
Update doc about metrics v2 APIs (#6958)
* Update metrics v2 APIs

* Update changelog.
2021-05-17 20:56:54 +08:00
Leon Yang a1c5dc62a0
FIX: register Watcher (#6956) 2021-05-17 17:48:46 +08:00
Joe 5e40a0998a
Fix issue 6945 (#6948) 2021-05-15 17:38:51 +08:00
Zhenxu Ke 85a993faf5
Allow multiple definitions as fallback in metadata-service-mapping.yaml file (#6933) 2021-05-13 06:53:05 +08:00
Qiuxia Fan d337e326ad
sync ui (#6929) 2021-05-12 11:31:27 +08:00
Zhenxu Ke 94adbf1c1f
Bump Kubernetes client-java version (#6920) 2021-05-10 05:07:09 +08:00
Zhenxu Ke c5e0c01f06
Add OpenSearch as a storage option (#6916) 2021-05-09 10:09:15 +08:00
YczYanchengzhe 26de83883a
etcd client problem : fix the byte buff leak reported by io.netty.util.ResourceLeakDetector (#6912) 2021-05-08 07:19:16 +08:00
Zhenxu Ke 4103551092
bugfix: Envoy error logs are not persisted when no metrics are generated (#6911) 2021-05-07 23:25:20 +08:00
Ax1an 667f3be3bf
Avoid NPE in ElasticSearch 5 client due to version mismatch. (#6863) 2021-05-07 16:01:42 +08:00
Leon Yang 0036ea674f
FIX: NPE when thrift field is nested (#6909)
* FIX: NPE when field is nested

* ADD: change.md

Co-authored-by: Yang Xin <yangxinbj@fenbi.com>
2021-05-07 13:59:06 +08:00
CharliePu 004eef65ec
Sync, after changing the durationTime, the topology shows the originally selected group or service. (#6908) 2021-05-07 09:54:35 +08:00
Zhenxu Ke 3b15f8d132
feature: Envoy access log receiver supports TCP logs (#6727) 2021-05-07 07:50:03 +08:00
liqiangz b934a143c2
Add `okhttp-4.x` plugin (#6899) 2021-05-06 18:54:39 +08:00
ZhangZhaoyuan edc154c40d
Add spring cloud gateway 3.x plugin (#6881) 2021-05-02 11:14:28 +08:00
Qiuxia Fan f3175ec517
sync ui (#6883) 2021-05-01 10:05:01 +08:00
Wayne Chu 83757dae61
perf: use iterator.remove() to remove modulesWithoutProvider (#6874) 2021-04-30 08:55:22 +08:00
divyakumarjain e9fc6bc639
Fix #6835 Add compatibility with Kafka client version 2.8.x (#6837) 2021-04-29 10:22:30 +08:00
Darcy 10ddf0c373
fix a bug that spring-mvc set an error endpoint name (#6783) 2021-04-29 07:52:35 +08:00
wankai123 db1d655b47
Fix: MAL function would miss samples name after creating new samples. (#6864) 2021-04-28 23:09:57 +08:00
Qiuxia Fan b117689be1
sync ui (#6868) 2021-04-28 21:55:48 +08:00
Zhenxu Ke b850e5c6e1
Bump up Jetty version to fix cve (#6861) 2021-04-28 12:03:25 +08:00
Ax1an 36c61fcfa9
Add an optional agent plugin to support mybatis. (#6838) 2021-04-27 22:34:29 +08:00
Qiuxia Fan d85f131e7d
sync ui (#6856) 2021-04-27 20:52:16 +08:00
wankai123 afe4cb0c0d
fix: Some incompatibles check codes didn't work in `PercentileFunction combine` (#6851) 2021-04-27 15:13:24 +08:00
ZhangZhaoyuan 9de37243c1
feat: add enhance pulsar MessageListener instance (#6774) 2021-04-26 11:16:43 +08:00
高云峰 1aa5f2682d
feature:Support alarm to WeLink (#6794) 2021-04-26 00:01:19 +08:00
liqiangz 7a53331367
Support alarm tags (#6820) 2021-04-25 17:22:43 +08:00
Darcy b4114ac043
enhancement agent kafka reporter plugin, add namespace concept (#6781) 2021-04-23 11:29:35 +08:00
hailin0 16b51d55ba
Support print SkyWalking context to logs (#6795) 2021-04-23 09:55:14 +08:00
chen~ 8ba5e012aa
Generate the corresponding event information for the alert. (#6702) 2021-04-21 22:01:46 +08:00
Qiuxia Fan 8fdae697ff
sync ui (#6793) 2021-04-20 17:32:45 +08:00
mlasek 2122990ce1
Resolves #6751 - added kafka consumer assign method interception to p… (#6753) 2021-04-20 17:18:24 +08:00
于玉桔 527d772575
SkyWalking support Seata plugin (#6579) 2021-04-19 14:11:55 +08:00
guyang e89888668f
feature: jsonrpc4j plugin (#6743) 2021-04-17 22:42:57 +08:00
zifeihan 3a7d6c0ed4
Add an agent plugin to support elasticsearch7 (#6759) 2021-04-16 18:06:18 +08:00
Nick Wong bc1043e9b3
GlobalIdGenerator will produce a negative id when the time shift back (#6729) 2021-04-16 07:38:13 +08:00
zifeihan b472703154
Add `trace_segment_ref_limit_per_span` configuration mechanism to avoid OOM (#6715) 2021-04-14 23:51:19 +08:00
Zhenxu Ke aecb1b398b
Add some defensive codes of new protobuffers' semantics (#6737) 2021-04-13 20:24:24 +08:00
wankai123 cbb67101b9
Fix K8s monitoring the incorrect metrics calculates. (#6739) 2021-04-13 13:55:22 +08:00
wankai123 5ba8f00205
Doc: Polish k8s monitoring otel-collector configuration example. (#6722) 2021-04-10 06:34:11 +08:00
吴晟 Wu Sheng 17e820f156
Begin 8.6.0 iteration (#6721) 2021-04-09 23:01:00 +08:00
Qiuxia Fan b0865e7c55
sync ui (#6718) 2021-04-09 09:44:57 +08:00
Qiuxia Fan d6b73cd917
sync ui (#6717) 2021-04-09 07:33:27 +08:00
wankai123 d65716068e
Add backend-infrastructure-monitoring doc (#6711) 2021-04-08 20:49:16 +08:00
Gao Hongtao 58854af662
Fix slash root issues in es7 client (#6707)
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2021-04-08 11:19:00 +08:00
wankai123 b6620f59c9
Remove the useless metrics in `vm.yaml` (#6705) 2021-04-08 08:02:22 +08:00
Zhenxu Ke 8d7d8650da
Add Dockerfile and build script for Java agent Docker image (#6686) 2021-04-06 21:52:31 +08:00
wankai123 f9096f5086
Support k8s monitoring (#6479) 2021-04-06 14:11:02 +08:00
吴晟 Wu Sheng 9661139428
Sync UI (#6690) 2021-04-06 11:54:49 +08:00
liqiangz 411bcf230d
Support @Trace, @Tag and @Tags work for static methods (#6685) 2021-04-06 09:04:38 +08:00
liqiangz 647e234d89
Fix CHANGES.md typo (#6688) 2021-04-06 07:47:01 +08:00
吴晟 Wu Sheng 2b85ba1041
Fix `disable` statement not working (#6687) 2021-04-05 20:11:34 +08:00
liqiangz 776f19c702
Fix spanLayer is null in optional plugin(gateway-2.0.x-plugin gateway-2.1.x-plugin) (#6683) 2021-04-04 20:01:06 +08:00
liqiangz c986948c48
Fix springmvc reactive api can't collect HTTP statusCode. (#6671) 2021-04-03 22:09:48 +08:00
Darcy 573c3359ca
Fix Agent Plugin "asynchttpclient" not record the status code of the … (#6665) 2021-04-03 15:42:59 +08:00
Evan 2af77d4d03
make sync metrics concurrency (#6642)
* make sync metrics concurrency

* add changelog

* add changelog

* polish codes

* change default value

* remove unnecessary codes

Co-authored-by: Evan <evanljp@outlook.com>
Co-authored-by: Zhenxu Ke <kezhenxu94@apache.org>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-04-02 11:33:46 +08:00
Shengjun fc7d8dcb5e
Redis Lettuce span UI doesn't show detailed Redis command parameters in 'db.statement' field (#6614) 2021-04-02 10:03:57 +08:00
Gao Hongtao b8a040ea74
Append the root slash(/) to getIndex and getTemplate requests in ES client (#6663)
* Append the root slash(/) to getIndex and getTemplate requests

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Document this bug

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2021-04-01 14:26:57 +08:00
wankai123 4af2b61027
Fix ALS K8SServiceRegistry didn't remove the correct entry (#6658)
* Fix ALS K8SServiceRegistry didn't remove the correct entry

* Add changes

Co-authored-by: Zhenxu Ke <kezhenxu94@apache.org>
2021-04-01 06:14:01 +08:00
Gao Hongtao 7d06c210ae
Resolve envoy service name from a different position (#6654) 2021-03-31 12:09:18 +08:00
Alvin 9a3e8357cc
Fix NullPointerException when call "ReactiveRequestHolder.getHeaders" (#6651) 2021-03-31 07:11:30 +08:00
liqiangz 56bebb8baf
Remove the close_before_method and close_after_method parameters of custom-enhance-plugin to avoid memory leaks (#6632)
* Remove the close_before_method and close_after_method parameters of custom-enhance-plugin to avoid memory leaks

* refine

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-03-29 10:50:27 +08:00
李文广 0047829b9f
Fixbug/springmvn-annotation-4.x-plugin, witness class does not exist in some versions (#6629) 2021-03-28 23:32:31 +08:00
wankai123 92c0cb856d
Add function `retagByK8sMeta` and opt type `K8sRetagType.Pod2Service` in MAL for k8s to relate pods and services. (#6608) 2021-03-25 20:50:58 +08:00
Stephen Ni 51b60ae218
Update the agent HBase plugin to support HBase Client 2.x (#6577) 2021-03-25 14:08:31 +08:00
吴晟 Wu Sheng f3b567160c
Enhance the export service. (#6602) 2021-03-24 09:22:03 +08:00
Ryan Wang b28f270527
sync ui (#6603) 2021-03-23 20:26:28 +08:00
Leon Yang 9b4766e491
fix no trace id in async log (#6567) 2021-03-22 16:12:44 +08:00
Leon Yang 56425f1c62
support jedis pipeline (#6565) 2021-03-20 19:52:28 +08:00
wankai123 c2c3830a80
Add functions in MAL to filter metrics according to the metric value (#6587) 2021-03-20 17:12:34 +08:00
Ax1an b48433e1f6
Optimize the self monitoring grafana dashboard. (#6549) 2021-03-20 13:33:11 +08:00
CharliePu fadbecaa84
Sync UI and upate change logs. (#6582) 2021-03-20 08:11:57 +08:00
Zhenxu Ke 25214e910a
Collect and report agent starting / shutdown events (#6559) 2021-03-18 15:25:06 +08:00
wankai123 a8810b1ab0
Support metrics grouped by scope labelValue in MAL, no need global same labelValue as before. (#6495) 2021-03-17 09:02:38 +08:00
吴晟 Wu Sheng af6f7d2c34
Remove group concept from AvgHistogramFunction (#6552) 2021-03-16 10:26:33 +08:00
Ax1an 1bd397db9b
Add telemetry data about mesh error. (#6550) 2021-03-15 21:13:03 +08:00
史精文 cc60f1529f
resolve "receiver don't need to get itself when healthCheck #6515 " (#6538) 2021-03-12 20:45:38 +08:00
Evan fd1d21021f
[Incompatible Enhancement]New index policy of ElasticSearch storage option (#6499) 2021-03-11 15:11:37 +08:00
hailin0 0382447749
Fix tags store of log and trace on h2/mysql/pg storage (#6505) 2021-03-11 10:40:54 +08:00
Ax1an d9617cbe7b
Add telemetry data about metrics in, metrics scraping and trace in metrics to zipkin receiver. (#6516) 2021-03-11 09:13:49 +08:00
Jasper Zhong a2021446f8
Bugfix/fix UI template wrong metrics name (#6527) 2021-03-09 23:01:03 +08:00
hailin0 78487ad983
Upgrade lombok to 1.18.16 (#6506) 2021-03-07 18:54:45 +08:00
Qiuxia Fan 1b8fdd5688
sync ui (#6496) 2021-03-05 19:32:26 +08:00
Jared Tan 80a9a5e65e
Support config `agent.span_limit_per_segment` can be changed in the runtime. (#6482)
* CDS: Support config `agent.span_limit_per_segment`

* fix missing logical.

* fix ci

* polish

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-03-05 15:22:02 +08:00
Jingguo Yao e2f2cce874
Fix NullPointerException with KafkaProducer.send(record) (#6487)
Resolves #6481
2021-03-05 11:12:23 +08:00
CharliePu a0196b16fa
Fix the line chart problem of topology instance (#6489) 2021-03-05 07:58:52 +08:00
Qiuxia Fan 9946ec49f6
Sync uI and update license (#6478)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: Zhenxu Ke <kezhenxu94@apache.org>
2021-03-04 08:14:12 +08:00
Zhenxu Ke de6a731d72
Save Envoy http access logs when error occurs (#6322) 2021-03-02 22:40:30 +08:00
Qiuxia Fan 5289996e4c
Sync UI (#6474) 2021-03-02 14:20:50 +08:00
吴晟 Wu Sheng b1a8238c15
Remove fields of parent entity in the relation sources. (#6471) 2021-03-01 08:39:04 +08:00
haoyann 72546a75c3
fix `DatabaseSlowStatementBuilder` statement maybe null (#6470) 2021-02-28 17:51:03 +08:00
Jingguo Yao 3ce4dc0da8
Fix ClassCastException from CallbackAdapterInterceptor (#6462) 2021-02-27 19:26:53 +08:00
吴晟 Wu Sheng 0e1d5c3767
Make Zipkin trace query available (#6454) 2021-02-27 14:50:54 +08:00
Jasper Zhong 3a6c39c684
Bugfix/lettucev5 plugin (#6453) 2021-02-27 00:01:42 +08:00
Zhenxu Ke 77082de77b
Add `sum` function in meter system (#6427)
* Add `sum` function in meter system

* Fix minor potential bug and reformat some codes

* Fix a bug

* Use Set to hold the {aggregate,scope} labels as same labels maybe added by multiple aggregation functions

* Separate downsampling function and revert unnecessary codes
2021-02-25 15:10:28 +08:00
haoyann 5b49f8f9fd
Fix alarm httpclient connection leak (#6431) 2021-02-25 10:05:08 +08:00
osiriswd 8c3d1679e3
Fix apm-dubbo-2.7.x-plugin memory leak due to some Dubbo RpcExceptions. (#6432) 2021-02-24 14:59:41 +08:00
Zhenxu Ke 96f1c12159
Introduce log analysis language (LAL) (#6388) 2021-02-23 20:06:48 +08:00
John Bampton 85fc4f827c
Fix spelling (#6418) 2021-02-22 07:40:35 +08:00
Zhenxu Ke 9de93119e2
Enhance gRPC log appender to allow layout pattern (#6403) 2021-02-21 12:53:44 +08:00
mrproliu 317a6580f3
Remove filename suffix in the meter active file config (#6413) 2021-02-21 08:35:38 +08:00
zifeihan 430a85df07
Fix KafkaContextManagerExtendService boot error of kafka plugin. (#6410) 2021-02-20 23:16:16 +08:00
buzuotaxuan 3d2fba3c40
Fix kubernetes.client.opeanapi.ApiException (#6412) 2021-02-20 22:09:10 +08:00
haoyann c45bb361ee
Storage plugin supports PostgreSQL (#6345) 2021-02-20 20:59:51 +08:00
wankai123 6c6a8a7109
Add E2E test for VM monitoring that the metrics from Promethues node-exporter via OTEL. (#6404) 2021-02-20 16:11:44 +08:00
mrproliu 6d92bc66dd
Meter system enhancement (#6398) 2021-02-19 20:51:03 +08:00
margauxcabrera cd920e274f
Issue#6377 changed slf4j LoggingEvent to apache log4j LoggingEvent (#6378)
Co-authored-by: Margaux Cabrera <margaux.cabrera@skulibrary.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-02-16 17:24:57 +08:00
mrproliu fcf64a217f
Change the Apdex metric combine calculator (#6363) 2021-02-11 15:19:32 +08:00
mrproliu 75f03acba7
Adopt Zabbix protocol (#6176)
Happy Chinese New Year !!
2021-02-10 22:40:07 +08:00
吴晟 Wu Sheng 8fed8768b9
Update CHANGES.md (#6350) 2021-02-08 21:09:53 +08:00
Qiuxia Fan 638f131937
sync ui (#6349) 2021-02-08 18:15:31 +08:00
zhang-wei ba6d49ad91
Update the timestamp field type for LogQuery (#6335) 2021-02-07 12:09:51 +08:00