Commit Graph

1090 Commits

Author SHA1 Message Date
wankai123 d1dcd3f96c
Replace e2e cases to e2e-v2: Kafka: Base, Meter, Log, Profile (#7986)
* Replace e2e cases to e2e-v2: Kafka: Base, Meter, Log, Profile
* Set `SW_KAFKA_FETCHER_ENABLE_NATIVE_PROTO_LOG`, `SW_KAFKA_FETCHER_ENABLE_NATIVE_JSON_LOG` default `true`.
2021-10-22 10:54:49 +08:00
吴晟 Wu Sheng fc0d0e1e7b
Message Queue performance and consuming latency monitoring (#7918)
* Support `!= null` in OAL engine.
* Add `Message Queue Consuming Count` metric for MQ consuming service and endpoint.
* Add `Message Queue Avg Consuming Latency` metric for MQ consuming service and endpoint.
* Document with a new menu in the `tracing` catalog is added
2021-10-13 20:20:36 +08:00
吴晟 Wu Sheng 7f7f604bed
Support `(str->long)` and `(str->int)` cast statements in OAL core engine. (#7907)
Enhance OAL engine core
* Fix `funcParamExpression` and `literalExpression` can't be used in the same aggregation function.
* Support cast statement in the OAL core engine.
* Support `(str->long)` and `(long)` for string to long cast statement.
* Support `(str->int)` and `(int)` for string to int cast statement.
* Support Long literal number in the OAL core engine.
* Support literal `string` as parameter of aggregation function.
* Add `attributeExpression` and `attributeExpressionSegment` in the OAL grammar tree to support `map` type for the
  attribute expression.

Besides added UTs, I locally tested these OAL scripts
```
mq_consume_latency = from((str->long)Service.tag["transmission.latency"]).longAvg();

mq_consume_latency = from((long)Service.tag["transmission.latency"]).longAvg();

mq_consume_latency = from((str->long)Service.tag["transmission.latency"]).filter((str->long)tag["transmission.latency"] > 0L).longAvg();
```
2021-10-12 14:33:23 +08:00
吴晟 Wu Sheng 9d8a774b6a
Enhance `get` generation mechanism of OAL engine, support map type of source's field. (#7904) 2021-10-11 21:04:06 +08:00
kezhenxu94 4c95f07adb
Set the Docker image names the same as the ones in hub.docker.io (#7820) 2021-09-28 08:11:19 +08:00
吴晟 Wu Sheng 96829da89a
Fix words in alarm doc (#7811) 2021-09-27 09:05:58 +08:00
吴晟 Wu Sheng fdbbd5a94b
Move grouping doc from metrics to advanced. (#7781) 2021-09-23 21:52:43 +08:00
吴晟 Wu Sheng 80b0fed891
Fix 404 links (#7767) 2021-09-22 18:08:13 +08:00
吴晟 Wu Sheng 29104848a6
Update ttl.md to add another 2 types of model relating to recordTTL (#7760) 2021-09-22 09:13:10 +08:00
wankai123 fc7db29b2e
Support dynamic configurations for openAPI endpoint name grouping rule (#7746) 2021-09-18 12:02:35 +08:00
nicolchen 224b6c6b3a
Improve the speed of writing TiDB by batching the SQL execution (#7691) 2021-09-17 00:05:18 +08:00
Humbert Zhang 5d7c82d485
fix typo in endpoint-grouping-rules document (#7716) 2021-09-15 15:04:28 +08:00
wankai123 7560c990cf
Support gRPC sync grouped dynamic configurations. (#7709) 2021-09-14 17:06:18 +08:00
吴晟 Wu Sheng c5ac46a8e2
Add agent compatibility doc for the first time. (#7707) 2021-09-14 13:51:57 +08:00
kezhenxu94 b20f121e64
Fix that `sortMetrics` should only return `long` not `double` (#7698) 2021-09-12 12:31:42 +08:00
wankai123 80f999f998
Support apollo grouped dynamic configurations (#7685) 2021-09-10 14:33:08 +08:00
kezhenxu94 f61dff9a9f
Merge `Dockerfile`s in apache/skywalking-docker into this codebase (#7681) 2021-09-09 12:37:50 +08:00
K哥 edcf5926a8
Update the latest architecture diagram references (#7679) 2021-09-08 17:26:47 +08:00
wankai123 4a344b01e9
Unified the config word `namespace` in the project (#7676) 2021-09-08 12:00:19 +08:00
wankai123 e89493b247
Support etcd grouped dynamic configurations. (#7672) 2021-09-07 22:54:05 +08:00
kezhenxu94 26b81a2e59
Rebuilt ElasticSearch client on top of their REST API (#7634) 2021-09-06 15:21:35 +08:00
Wing b78a51bc74
Refine README.md (#7651) 2021-09-04 15:18:52 +08:00
Wing 70b1ec69de
Refine README.md (#7649) 2021-09-04 09:06:59 +08:00
wankai123 0fae36ed4c
Support consul grouped dynamic configurations (#7647) 2021-09-03 20:52:22 +08:00
honganan e5a5e05f99
add suffix limit to avoid possible start problems (#7641) 2021-09-03 12:44:55 +08:00
Daming 0b67d29996
Support mTLS for gRPC channel (#7565) 2021-09-03 09:17:16 +08:00
Wing ee16a1d54a
Refine service-agent doc (#7638) 2021-09-03 08:51:17 +08:00
silas.u 7d428ecc2d
More document for meter configurations in backend-meter.md (#7637) 2021-09-02 19:09:01 +08:00
Wing 2220a72c5f
Refine Istio doc (#7635) 2021-09-02 09:12:48 +08:00
wankai123 5c2418ee9d
Support nacos grouped dynamic configurations. (#7632) 2021-09-01 21:22:06 +08:00
Wing 29c3804391
refine backend doc (#7629) 2021-09-01 14:45:49 +08:00
HendSame 1c0fc982b2
Support configure sampling rate dynamically for service dimension on the backend side (#7554) 2021-08-30 14:52:20 +08:00
Wing 0ab10abc6d
Refine backend doc (#7595) 2021-08-28 06:18:56 +08:00
Brandon Fergerson b4aa79a993
Update mal.md (#7596) 2021-08-28 06:12:13 +08:00
吴晟 Wu Sheng 263053e2e0
Update menu.yml (#7594) 2021-08-27 21:20:56 +08:00
吴晟 Wu Sheng 6131b4a2bb
Remove menu of java agent doc. (#7593) 2021-08-27 20:47:32 +08:00
kezhenxu94 789ad4c0cf
Remove agent codes and clean up (#7588)
* Remove agent codes and clean up
2021-08-27 20:05:08 +08:00
Wing 1c436d7851
refine backend doc (#7587) 2021-08-27 15:06:21 +08:00
wankai123 e50f4f8509
Doc: Reorganize dynamic configuration doc (#7586)
* Reorganize dynamic configuration doc

* add configmap and polish doc

* polish changes.md
2021-08-27 15:01:18 +08:00
kezhenxu94 157e146953
Fix dead link (#7575) 2021-08-26 15:37:10 +08:00
kezhenxu94 944b47b515
Fix dead link (#7560) 2021-08-25 14:21:43 +08:00
Wing c778007c02
refine backend doc (#7559) 2021-08-25 14:17:08 +08:00
吴晟 Wu Sheng db2bc93573
Separate agent docs to avoid long single page. (#7537) 2021-08-23 20:10:01 +08:00
Daming a2e011f9b0
Kafka extra producer configuration enhancement (#7526) 2021-08-23 17:16:19 +08:00
Wing 8f7d16a18e
Refine backend doc (#1) (#7522)
* Refine dynamic-config.md

* Refine dynamical-logging.md

* Refine endpoint-grouping-rules.md
2021-08-21 14:00:26 +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
王旺 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