Commit Graph

6823 Commits

Author SHA1 Message Date
kezhenxu94 36d3fb1fe0
Add showcase repo to issue template (#8092) 2021-11-09 08:21:44 +08:00
吴晟 Wu Sheng 7563734def
Update kafka-fetcher.md (#8085) 2021-11-06 20:34:20 +08:00
CoderGang 7c468c8331
add pulsar fetcher plugin link to the docs. (#8084) 2021-11-06 19:09:47 +08:00
吴晟 Wu Sheng c0994eefde
Optimize metrics of minute dimensionality persistence, don't save metric of being default value. (#8066)
Optimize metrics of minute dimensionality persistence.
- The value of metrics, which has declaration of the default value and current value equals the default value logically, the whole row wouldn't be pushed into database.
- Add self-observability `metrics_persistence_skipped` metric to measure the number of skipped metrics.
- SLA(percent function), Apdex, AvgLong(MAL mostly) metrics are mostly optimized because of this. Such as a full-failing error(0% successful rate) and unhealthy(apdex=0) are not costing the storage.
- Hour/Day dimensionalities metrics are not changed, as they cover long duration.
- Fix `max` function in OAL doesn't support negative long.
2021-11-04 09:38:18 +08:00
liqiangz 4cd39b3752
Add OpenTelemetry as new source for logs. (#8065) 2021-11-03 21:29:44 +08:00
吴晟 Wu Sheng 77047e42d7
Clear e2e v1 GHA control file (#8059) 2021-11-03 13:43:32 +08:00
何延龙 7aa0ba7048
[CI] Update PHP Agent (#8054) 2021-11-02 19:59:16 +08:00
Wing 76847db783
Refine protocols doc (#8049) 2021-11-02 16:49:36 +08:00
吴晟 Wu Sheng 1b8dbd3fb3
Polish doc, restructure documents about receivers and fetchers (#8043)
1. Remove general receiver and fetcher docs
1. Add more specific menu with docs to help users to find documents easier.
2021-11-01 17:42:19 +08:00
吴晟 Wu Sheng 54b72c88bd
Enhance documents about the data report and query protocols. (#8041) 2021-11-01 16:30:31 +08:00
zhyyu 149b359ca6
fix config yaml data type conversion bug (#8035)
Co-authored-by: yuzhongyu <yuzhongyu@cestc.cn>
2021-10-29 21:35:17 +08:00
wankai123 32f9ab01f2
E2e immigrate to e2e-v2 finished, remove old e2e. (#8037) 2021-10-29 14:32:16 +08:00
wankai123 fea9ce366c
Replace e2e cases to e2e-v2: Alarm (#8036) 2021-10-29 09:25:48 +08:00
wankai123 c9b28e4d00
Replace e2e cases to e2e-v2: TTL (#8028) 2021-10-28 12:21:35 +08:00
吴晟 Wu Sheng 50cc044571
Make new TimeBucket in ElasticSearch compatible with old versions. (#8027) 2021-10-28 10:18:01 +08:00
Fine0830 966a710c43
sync ui (#8021) 2021-10-27 15:32:55 +08:00
mrproliu c9bd79e8bb
Replace e2e cases to e2e-v2: Istio (#8013) 2021-10-27 12:11:47 +08:00
吴晟 Wu Sheng 2ea12934ce
Fix ElasticSearch implementation of `queryMetricsValues` and `readLabeledMetricsValues` doesn't fill default values (#8012)
* Fix ElasticSearch implementation of `queryMetricsValues` and `readLabeledMetricsValues` doesn't fill default values
* Change generated file path.
2021-10-27 08:27:09 +08:00
Kirs f7bcb76784
move the codes in apm-commons into server-library (#8003) 2021-10-26 20:31:36 +08:00
吴晟 Wu Sheng 3aedfcc4a8
Fix TimeBucket missing in H2, MySQL, TiDB and PostgreSQL bug (#8008) 2021-10-26 19:44:00 +08:00
吴晟 Wu Sheng e575701f85
Support JDK 16 and 17. (#8005) 2021-10-26 16:34:24 +08:00
kezhenxu94 a5685cb149
Add a GraphQL query to get OAP version, display OAP version in startup message and error logs (#8004) 2021-10-26 15:05:37 +08:00
zhang-wei 3470f7fb3b
Replace e2e cases to e2e-v2: Client-JS (#7999) 2021-10-25 23:44:40 +08:00
吴晟 Wu Sheng a68503b39f
Fix unexpected deleting due to TTL mechanism bug (#8000) 2021-10-25 22:55:42 +08:00
吴晟 Wu Sheng 1ee9ce0a9c
Update doc about UI. (#7994) 2021-10-24 20:29:22 +08:00
wankai123 f13502fc2c
e2e-v2: Simplified cluster e2e to reduce failure (#7989) 2021-10-22 12:58:52 +08:00
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
mrproliu 8d24ba2d9f
Add `getProfileTaskLogs` query method implement (#7984) 2021-10-22 08:20:10 +08:00
Fine0830 7a5fec56fe
UI: Enhance time range selector and setting zone (#7977) 2021-10-21 16:45:02 +08:00
zhang-wei 929dc0e91f
support search browser service (#7975) 2021-10-21 15:22:43 +08:00
Fine0830 2fb4fe1bce
sync ui (#7971) 2021-10-20 19:07:32 +08:00
wankai123 5a6a1dbb26
Replace e2e cases to e2e-v2: Profile (#7967) 2021-10-20 10:19:10 +08:00
kezhenxu94 fc196efd7d
chore: build `swctl` from CLI Docker image instead of building from source (#7958) 2021-10-19 14:16:28 +08:00
kezhenxu94 ca539e7ddb
Fix setting wrong field when combining `Event`s (#7953) 2021-10-19 07:14:15 +08:00
wankai123 8e59e55040
Replace e2e cases to e2e-v2: Event (#7951) 2021-10-18 22:46:56 +08:00
wankai123 bd91ca7c80
Replace e2e cases to e2e-v2 Cluster (#7948) 2021-10-18 11:29:47 +08:00
Jared Tan b5578b68fd
Replace e2e cases to e2e-v2: Storage (#7934)
* replace log e2e cases to e2e-v2.

* update change log

* fix change log.

* revert proto chenge

* fix e2e

* active h2

* contains

* revert storage e2e mis-change
2021-10-16 18:25:29 +08:00
Fine0830 2fcbe8e998
sync ui (#7937) 2021-10-16 12:22:44 +08:00
mrproliu 605ca03884
support negative infinity bucket in meter system (#7930) 2021-10-15 17:47:44 +08:00
wankai123 d73c51a4dd
Replace e2e cases to e2e-v2: Python (#7932) 2021-10-15 16:31:35 +08:00
Jared Tan 61d4749288
Replace log e2e cases to e2e-v2 (#7856)
* replace e2e with infra e2e.

* update e2e

* update e2e

* fix fluentbit & es6

* fix fluentbit & es6

* fix rules.

* fix docker compose in h2 case.

* update e2e

* fix e2e log

* fix env in e2e.

* fix case in e2e.

* fix case in e2e.

* Fix and refine matrix

* update fluent mount.

* fix missed provider service and wrong triggers in e2e.

* fix docker compose

* fix typo

* fix endpoints expected.

* fix mysql storage mount mysql driver.

* add ports for provider.

* add oap port for trigger.

* update e2e check

* fix mysql

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2021-10-15 13:26:17 +08:00
wankai123 bafc3cde9d
Replace e2e cases to e2e-v2: go2sky (#7929) 2021-10-14 21:50:37 +08:00
wankai123 b08cac9ad9
Replace VM e2e cases to e2e-v2: Prometheus Node Exporter, Zabbix (#7924) 2021-10-14 17:37:09 +08:00
Fine0830 875350e213
sync ui (#7921) 2021-10-14 13:51:46 +08:00
wankai123 d6f943bbd5
Replace e2e cases to e2e-v2: PHP (#7919) 2021-10-13 23:25:19 +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
wankai123 f4c99db4f0
Replace e2e cases to e2e-v2: Nodejs (#7914) 2021-10-13 09:59:29 +08:00
吴晟 Wu Sheng 720dc924e4
Refactor the OAL compiler context to improve readability (#7913)
* Refactor the OAL compiler context to improve readability. Usually, this could not be included in the change log, but considering this kind of refactor could cause not-found bugs, Adding this as a hit if we face some related issues in the future.
* Fix wrong generated codes of hashCode and remoteHashCode methods for numeric fields.
2021-10-12 19:04:28 +08:00
wankai123 29dbcf461e
Replace e2e cases to e2e-v2: Meter (#7912) 2021-10-12 15:51:11 +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