Commit Graph

735 Commits

Author SHA1 Message Date
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
Zhenxu Ke b92eac2cd6
Add a new concept "Event" and its implementations to collect events (#6183) 2021-02-05 18:37:18 +08:00
Zhenxu Ke 547f5f1e77
Add some defensive codes for NPE and bump up Kubernetes client version to expose exception stack trace (#6327) 2021-02-05 16:30:54 +08:00
Qiuxia Fan de256f055f
sync ui (#6319) 2021-02-04 23:21:09 +08:00
Zhenxu Ke 1e78a0ac78
Metrics combination API supports abandoning results (#6318) 2021-02-04 20:30:36 +08:00
Snile f44ed756df
Allow user-defined `JAVA_OPTS` in the startup script (#6316) 2021-02-04 14:23:16 +08:00
libinglong d12d3f201a
add redefine listener (#6309) 2021-02-03 16:27:06 +08:00
Ax1an 5edcdeecde
Remove invalid mysql configuration in agent.config. (#6303) 2021-02-02 23:45:07 +08:00
zifeihan 59114fe31d
Update frontend-maven-plugin to 1.11.0, for Download node x64 binary on Apple Silicon. (#6282)
* Update frontend-maven-plugin to 1.11.0, for Download node x64 binary on Apple Silicon.

* Update CHANGES.md

* Update CHANGES.md

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-02-02 12:39:28 +08:00
吴晟 Wu Sheng d0c8d9bc6d
Finalize the 8.4.0 changes, and open the release process soon. (#6298) 2021-02-01 17:41:39 +08:00
Qiuxia Fan 1f391b85b9
sync ui (#6297) 2021-02-01 16:03:14 +08:00
Brandon Fergerson f59251681b
Ability to send log template + arguments instead of pre-formatted message (#6286) 2021-02-01 12:57:37 +08:00
Zhenxu Ke 56c264d1fa
test: fix flaky E2E test of Kafka (#6281) 2021-01-30 11:46:05 +08:00
wankai123 1753e5e0db
Support Prometheus node-exporter VM metrics monitoring (#6277) 2021-01-30 09:17:59 +08:00
Zhenxu Ke 5d47d4d29f
Remove state / isError and collect exception stacktrace in error logs (#6275) 2021-01-30 08:18:52 +08:00
Qiuxia Fan 85083adfe4
Sync ui submodule (#6279) 2021-01-29 19:34:57 +08:00
Ax1an fd02bcd6f6
Support dynamic change agent.ignore_suffix on java agent. (#6272) 2021-01-28 21:40:34 +08:00
w c0ed7d88da
Fix a legal metric query adoption bug. (#6270) 2021-01-28 17:41:17 +08:00
Jared Tan 0884c876fa
Support dynamic change agent.trace.ignore_path on java agent within CDS. (#6266) 2021-01-28 12:09:59 +08:00
吴晟 Wu Sheng 3cf31455a1
Remove the strict rule of OAL disable statement parameter. (#6267) 2021-01-28 07:58:49 +08:00
Qiuxia Fan 5e029c03ce
Sync UI (#6268) 2021-01-27 23:28:31 +08:00
Zhenxu Ke 8c51043dbf
Remove duplicate codes in Envoy ALS handler (#6263) 2021-01-27 12:58:11 +08:00
吴晟 Wu Sheng 7b1c63de11
Remove optional log plugin (#6259) 2021-01-26 23:23:14 +08:00
Wilson Wu 3a9a01512c
Sync UI and add change logs of UI (#6256) 2021-01-26 14:26:51 +08:00
Evan e138d29778
add text analyzer for es (#6249) 2021-01-25 17:01:43 +08:00
wankai123 c52aa02341
Fix bug that the same sample name in one MAL expression caused `IllegalArgumentException` in `Analyzer.analyse`. (#6250) 2021-01-25 12:56:06 +08:00
wankai123 777c670c66
Support the identification of the source host of the metric data in otel-receiver-plugin (#6243) 2021-01-22 22:24:19 +08:00
Leon Yang 100823cb6e
Support DNS period resolving mechanism (#6240) 2021-01-22 13:14:21 +08:00
zifeihan 43e2458e6b
[FAQ doc] Fix compiling on Mac M1 chip (#6241) 2021-01-22 09:03:50 +08:00
zifeihan db61015245
Support dynamic change SAMPLE_N_PER_3_SECS on java agent (#6232) 2021-01-21 15:41:14 +08:00
Qiuxia Fan 15204781fa
Sync UI (#6235) 2021-01-20 13:37:42 +08:00
zhang-wei 762e347cba
OAL supports multiple values when as numeric (#6233) 2021-01-20 11:42:30 +08:00
Zhenxu Ke 6893fec8bb
Fix bug in `parseInternalErrorCode` where some error codes are never reached (#6226) 2021-01-19 16:53:06 +08:00
zifeihan 97f54114a5
Add the implementation of ConfigurationDiscovery on the OAP side. (#6220) 2021-01-19 14:53:49 +08:00
elk-g eb4b121530
Collect Log with java agent (#6127) (#6194) 2021-01-19 08:17:29 +08:00
ralphgj ea8a4963a2
fix recording url tag with wrong port (#6214) 2021-01-18 19:49:33 +08:00
HendSame 4e43f227b4
Support Alarm to feishu (#6193) 2021-01-18 09:24:20 +08:00
Zhenxu Ke cbfe7ee87c
Set up test for Istio 1.8.2 to verify Envoy V3 protocol (#6215) 2021-01-16 12:44:26 +08:00
Evan b0cc91382c
export the segmentId and spanId in toolkit (#6213) 2021-01-16 09:04:01 +08:00
Zhenxu Ke 98d0430b91
chore: set up license-eye to check license header (#6200) 2021-01-14 22:08:37 +08:00
Neal Huang 825a7ccc81
Make source builder set service name and endpoint name in right order (#6188) 2021-01-14 20:51:26 +08:00
zhang-wei 15452025c6
Log collecting and query implementation (#6120) 2021-01-14 09:49:11 +08:00
YczYanchengzhe 9dcad4a0b4
Fix thread leakage caused by es client connection creation (#6187) 2021-01-13 15:45:52 +08:00
Gao Hongtao d299ce0319
Remove redundant metrics and polish panel layout (#6190) 2021-01-13 07:44:22 +08:00
Jared Tan 50c74a6bc5
Upgrade kafka clients support version (#6182) 2021-01-12 21:49:22 +08:00
吴晟 Wu Sheng 688a9c7b05
Update CHANGES.md (#6178) 2021-01-12 10:56:21 +08:00
Frank Liu e9622033e3
Dubbo link tracing- show "group" attribute value in OperationName (#6159) 2021-01-09 07:27:34 +08:00
zifeihan 5fd06a7c4a
Fix `timeBucket` not taking effect in EqualsAndHashCode annotation. (#6153) 2021-01-08 15:51:15 +08:00
cuiweiwei e3fbb3f705
Fix some influxdb plugin bug (#6139) 2021-01-08 14:49:44 +08:00
Andy Zhang 4ae4f0e76a
ReadWriteSafeCache concurrency read-write (#6149) 2021-01-08 10:18:49 +08:00
libinglong e0a4c44036
new feature add witness method (#6103)
https://lists.apache.org/thread.html/r4f67a7ed880a493e4e82bd2e9a0c26a6e43c37bbfcdaebe7b1a340dc%40%3Cdev.skywalking.apache.org%3E
2021-01-08 09:01:35 +08:00
Ax1an 4acbca0053
Fix bug that rocketmq-plugin set the wrong tag. (#6144)
* Fix bug that rocketmq-plugin set the wrong tag.

* Update CHANGES.md

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-01-08 00:27:10 +08:00
Jared Tan c989bb286c
make sampling still works when the trace ignores plug-in activation (#6146) 2021-01-07 21:33:01 +08:00
Gao Hongtao 1e93cd2860
Fix istio control plane ui template metric type mismatch issue (#6147)
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2021-01-07 13:29:28 +08:00
Qiuxia Fan 5aacf2f5e0
Sync UI (#6145) 2021-01-07 11:55:27 +08:00
Zhenxu Ke f3d5153a80
Add ElasticSearch 7.10 to test matrix (#6137) 2021-01-07 10:11:13 +08:00
zifeihan 1307b0b5fa
Fix mssql-plugin occur ClassCastException when call the method of return generate key (#6133) 2021-01-07 07:54:38 +08:00
hailin0 cf9b7b1adf
Add Dolphinscheduler plugin definition (#6134) 2021-01-06 20:47:55 +08:00
Qiuxia Fan 35a0e9e902
Sync UI (#6132) 2021-01-05 21:06:17 +08:00
Zhenxu Ke e24b2bcf74
Fix bug that endpoint-name-grouping.yml can not be customized in docker / helm (#6124) 2021-01-04 07:06:35 +08:00
吴晟 Wu Sheng d36b350197
Fix the priority setting doesn't work of the ALS analyzers (#6121) 2021-01-03 15:08:12 +08:00
Zhenxu Ke f54f639c4d
Enhance Envoy metrics service analyzer by MAL (#6091) 2021-01-02 14:34:54 +08:00
Zhenxu Ke 6101163513
Support Envoy {AccessLog,Metrics}Service API V3 (#6116) 2021-01-01 21:48:38 +08:00
zifeihan ff2ab69a66
Fix the uuid field in GRPCConfigWatcherRegister is not updated. (#6115) 2021-01-01 18:12:36 +08:00
Daming 6e48dca99a
Improvement Influxdb query performance (#6066) 2020-12-30 19:54:33 +08:00
xuchangjun 8aeabfd5a6
ui sync (#6102)
Co-authored-by: tianxuanzhizi <bowen.xu@bangdao-tech.com>
2020-12-30 15:24:27 +08:00
吴晟 Wu Sheng f4b739c26b
Fix CVE of UninstrumentedGateways in Dynamic Configuration activation. (#6098) 2020-12-29 22:17:30 +08:00
Viktor Yi 1cc68b48d8
correct the doc of backend trace sampling with the latest configuration (#6085) 2020-12-26 19:10:42 +08:00
Qiuxia Fan 04b536b796
Add JavaScript component id (#6075) 2020-12-24 17:29:57 +08:00
Neal Huang e739ca2290
Support building gRPC TLS channel but CA file is not required (#6060) 2020-12-24 07:58:00 +08:00
songzhe 8899930082
fix influx query error #6056 (#6057)
* fix influx query error
* use InfluxConstants.NAME
2020-12-22 20:25:36 +08:00
lijial 0950c1ad6e
ArrayBlockingQueueBuffer del IF_POSSIBLE strategy (#6053)
* ArrayBlockingQueueBuffer del IF_POSSIBLE strategy

* update CHANGES.md

Co-authored-by: 李家良 <jialiang.li@tongdun.cn>
2020-12-22 16:05:04 +08:00
吴晟 Wu Sheng e6265ba5be
Fix DataCarrier's `org.apache.skywalking.apm.commons.datacarrier.buffer.Buffer` implementation isn't activated in `IF_POSSIBLE` mode. (#6048) 2020-12-22 07:54:15 +08:00
ZS-Oliver 542691011c
Fix thrift trace broken and wrong arg collected. (#5989) 2020-12-21 21:50:52 +08:00
Qiuxia Fan 098b9193e4
ui sync (#6039) 2020-12-21 15:11:17 +08:00
Lu Jiajing 9b7e663cc1
Update byte-buddy to 1.10.19 (#6037) 2020-12-21 14:07:39 +08:00
Zhenxu Ke b9c5776cfd
[Plugin] add NodeJS Axios component ID (#6033) 2020-12-19 21:45:19 +08:00
CommissarXia 5e9582eea9
Add interceptors of method(analyze, searchScroll, clearScroll, searchTemplate and deleteByQuery) for elasticsearch-6.x-plugin. (#5962) 2020-12-19 09:11:26 +08:00
Zhenxu Ke 6feeaf6e5f
Update submodule to sync namespaced proto files (#6026)
* update submodule to sync namespaced proto files

* add compat E2E test and update mock collector

* add changelog, fix GHA syntax, compat Java agent

* highlight notes, use archive dist, revert compat in agent

* polish changelog, add missing `-javaagent` in provider

* fix wrong position of JAVA_OPTS

* polish changelog
2020-12-18 12:29:44 +08:00
raybi-asus 1297d2e1d2
Add null-conditional operators on these 3 files (#6007)
* add null conditional operators on these 3 files . To aviod some agent exception of Oracle jdbc.

* Add a line in Java Agent section of CHANGES.md file

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-12-17 12:56:51 +08:00
Tomasz Pytel 82f859dc7e
[Plugin] add Python Pyramid component ID (#6012) 2020-12-16 01:14:40 +08:00
Lei Zhang 957d549b68
[ISSUE 5541] Fix H2 in-memory database table missing issues (#6008)
* add ;DB_CLOSE_DELAY=-1 to the database URL

* Update CHANGES log

* add ;DB_CLOSE_DELAY=-1 to the H2 database URL of application.yml

Co-authored-by: zhanglei36 <zhanglei36@asiainfo.com>
2020-12-15 16:05:03 +08:00
Tomasz Pytel 065a79778a
[Plugin] added component ID for Python aiohttp (#6006) 2020-12-15 07:14:59 +08:00
haoyann 84af1d2383
Fix the unexpected RunningContext recreation in the Tomcat plugin. (#6001) 2020-12-13 21:28:36 +08:00
吴晟 Wu Sheng 7485021e81
Update docs about the latest UI (#5999) 2020-12-12 18:19:46 +08:00
吴晟 Wu Sheng f513726fea
Fix potential gRPC connection leak(not closed) for the channels among OAP instances. (#5995)
* Fix potential gRPC connection leak(not closed) for the channels among OAP instances.

* Filter OAP instances(unassigned in booting stage) of the empty IP in KubernetesCoordinator.
2020-12-12 12:35:03 +08:00
吴晟 Wu Sheng be197dbfa4
Sync UI. (#5994) 2020-12-11 19:42:52 +08:00
Qiuxia Fan 6cb0cf67ef
Sync UI (#5984)
* sync ui

* docs: update CHANGES.md for ui
2020-12-10 17:58:53 +08:00
吴晟 Wu Sheng 8ff77667b7
Fix group name can't be queried when it is null. (#5986) 2020-12-10 16:20:50 +08:00
vcjmhg 0996151973
Support collecting logs of log4j, log4j2, and logback in the tracing context (#5914) 2020-12-10 13:53:30 +08:00
吴晟 Wu Sheng b80778ba6f
Add group rule to the service name config. (#5977) 2020-12-09 13:40:43 +08:00
Gao Hongtao 0a9a746efb
Update backend-fetcher.md (#5972) 2020-12-08 23:02:31 +08:00
mrproliu 4aa9f301d0
Add alarm tests in the e2e (#5961) 2020-12-08 16:47:28 +08:00
hailin0 fbf49b2cc6
Change the operation name of quartz-scheduler plugin (#5934) 2020-12-08 10:04:14 +08:00
Gao Hongtao 972145c208
Fix MAL concurrent execution issues (#5965)
* Filter expression based on input samples

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

* Fix MAL concurrent issues

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

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-12-08 05:43:39 +08:00
cuiweiwei e792da1782
fix influxdb bug while setting influxdb connection response format as InfluxDB.ResponseFormat.JSON (#5946) 2020-12-07 22:56:03 +08:00
zifeihan c24dbd6ec1
Fix jdk-http and okhttp-3.x plugin did not overwrite the old trace header. (#5958)
* Fix jdk-http and okhttp-3.x did not overwrite the old trace header.

* Update CHANGES.md.
2020-12-06 21:14:12 +08:00
osiriswd 6eb5648ba8
Support Kafka MirrorMaker 2.0 to replicate topics between Kafka clusters. (#5949) 2020-12-06 17:10:30 +08:00
吴晟 Wu Sheng 6ff5623340
Sync UI changes. (#5947) 2020-12-04 08:19:27 +08:00
Zhenxu Ke 8e2e9dfdaf
Enhance release script to support non-MacOS system (#5926) 2020-11-30 21:16:08 +08:00
mrproliu 821322447d
Make meter receiver support MAL (#5915) 2020-11-30 17:28:21 +08:00