- 25 4月, 2020 2 次提交
-
-
由 zhang-wei 提交于
* modification doc * modification doc * Update docs/en/guides/Plugin-test.md * Update docs/en/guides/Plugin-test.md Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com> Co-authored-by: NBrandon Fergerson <fergerson92@gmail.com>
-
由 qiyang 提交于
Co-authored-by: N亓杨 <qiyang@enmonster.com>
-
- 24 4月, 2020 2 次提交
-
-
由 wu-sheng 提交于
Here are the basic and simple usages of the MeterSystem APIs. ## Meter Creation New meter could be created based on metrics name, function, scope and data type. 1. Metrics name is still the storage entity name. 2. Functions are every similar with the OAL function, just accepting different input. ```java final MeterSystem meterSystem = MeterSystem.meterSystem(getManager()); meterSystem.create("test_long_metrics", "avg", ScopeType.SERVICE, Long.class); ``` NOTICE, this creation should only be called in the `module#prepare` stage, otherwise, `Can't create new metrics anymore` exception will be raised after the **CORE** module `start` stage finished. You may find out, there is a chance `create` could be executed successfully in your own `module#start` stage, but it it just because of the sequence of provider loaded by the class loader, **no guarantee, so please don't do that**. ## Runtime Calculation `AcceptableValue` is the object created at the runtime to accept new metrics value. ```java final MeterSystem service = getManager().find(CoreModule.NAME).provider().getService(MeterSystem.class); Executors.newSingleThreadScheduledExecutor().scheduleAtFixedRate(new Runnable() { @Override public void run() { final AcceptableValue<Long> value = service.buildMetrics("test_long_metrics", Long.class); value.accept(MeterEntity.newService("abc"), 5L); value.setTimeBucket(TimeBucket.getMinuteTimeBucket(System.currentTimeMillis())); service.doStreamingCalculation(value); } }, 2, 2, TimeUnit.SECONDS); ``` ## Meter Functions Right now, only `avg` function has been implemented. I submit this PR as soon as possible to get your feedback. I will add more functions. ## Notice 1. Make slow trace query available in the sampled record. Logically, they are the same thing. The UI doesn't need to concern about the trace as a special case. 2. Endpoint dependency will be removed from the dashboard. Because no query available for it. We will provide a new page for that in 8.1 3. Comparison page will be removed due to dashboard is powerful enough to replace it.
-
由 Brandon Fergerson 提交于
* vertx web plugin re-impl attempt
-
- 23 4月, 2020 2 次提交
- 22 4月, 2020 5 次提交
-
-
由 Daming 提交于
1. Re-balance the workload of plugintests 2. Restore testcases of MySQL, remove on #4641 3. Support user to runs plugin-test on debug mode. It will not remove the log files and actualData.yaml 4. remove paramater 'parallel_run_size' and disable parallel test.
-
由 静夜思朝颜 提交于
-
由 Jared Tan 提交于
-
由 wu-sheng 提交于
* Add data type to the column definition to replace the simple isValue definition. And top N query is also requiring value column now. * Support typeOfMetrics query.
-
由 静夜思朝颜 提交于
Co-authored-by: NMrproliu <mrproliu@lagou.com>
-
- 21 4月, 2020 4 次提交
-
-
由 静夜思朝颜 提交于
* fix cache update timer exception when disable profile in the backend * add comment Co-authored-by: NMrproliu <mrproliu@lagou.com> Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
-
由 静夜思朝颜 提交于
* support v3 extension header Co-authored-by: NMrproliu <mrproliu@lagou.com> Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
-
由 wu-sheng 提交于
1. Support the new query protocol, and the v1 query protocol is still supported 2. All `numOfxxx`/`GlobalBrief` is only a mock now, no real number. 3. typeOfMetrics service is a mock only too, follow up PR will implement this.
-
由 kezhenxu94 提交于
-
- 19 4月, 2020 2 次提交
-
-
由 Daming 提交于
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com> Co-authored-by: Nkezhenxu94 <kezhenxu94@163.com> Co-authored-by: Nkezhenxu94 <kezhenxu94@apache.org>
-
由 kezhenxu94 提交于
-
- 15 4月, 2020 4 次提交
-
-
由 kezhenxu94 提交于
-
由 wu-sheng 提交于
-
由 Gao Hongtao 提交于
* Keep latest index always present. * Avoid TTL timer to remove latest index * Create a latest index even without any data. Signed-off-by: NGao Hongtao <hanahmily@gmail.com>
-
由 zhang-wei 提交于
* go2sky e2e Co-authored-by: Nkezhenxu94 <kezhenxu94@apache.org>
-
- 14 4月, 2020 2 次提交
- 13 4月, 2020 2 次提交
-
-
由 songzhendong 提交于
-
由 wu-sheng 提交于
-
- 12 4月, 2020 3 次提交
-
-
由 kezhenxu94 提交于
* Fix bug that the agent heart beats too frequently Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
-
由 wu-sheng 提交于
-
由 静夜思朝颜 提交于
Co-authored-by: NMrproliu <mrproliu@lagou.com>
-
- 11 4月, 2020 2 次提交
- 10 4月, 2020 2 次提交
-
-
由 wu-sheng 提交于
* Set up restrict length rules for service, instance and endpoint * Adjust two env names.
-
由 wu-sheng 提交于
Here are the list of changes we made in this pull request. Top 3 are the principle changes, others are following these principles. 1. New agent and mesh report protocol. 2. New agent header protocol. 3. Service register, instance register and network address register have been removed permanently. 4. Service traffic, instance traffic and network alias metrics are added to replace the service, instance and network address inventory. 5. Register process has been removed. 6. Metrics stream process supports insert only mode, especially for traffic entities. 7. Metrics stream process supports no-downsampling mode for traffic entities and network alias. 8. Remove all register mechanism and cache in the java agent. 9. Remove MONTH step in GraphQL query. 10. Update UI to remove MONTH step query, the max query range is 60 days now. 11. Simplify the TTL to metrics and record. And the unit has been formatted in Day unit. No specific TTL for ElasticSearch storage. 12. Buffer mechanism of trace receiver and mesh receiver has been removed due to no register. 13. New service id, instance id and endpoint id rules, including service relation, instance relation and endpoint relation id rules. 14. Java agent support `keep tracing` mode, meaning, agent generating tracing context even the backend is unconnected/unavailable. 15. Plugin test tool up to date, in order to support new protocol. 16. Plugin tests expected data files updated. 17. E2E tests updated. 18. Telemetry of Grafana config has been merged into one. 19. Documentation updates. 20. [TBD] InfluxDB storage implementation is not available, need @dmsolr to fix later, in order to reduce the master change block by this PR.
-
- 08 4月, 2020 1 次提交
-
-
由 Brandon Fergerson 提交于
-
- 06 4月, 2020 1 次提交
-
-
由 Brandon Fergerson 提交于
spelling fix
-
- 01 4月, 2020 1 次提交
-
-
由 Qiuxia Fan 提交于
-
- 31 3月, 2020 3 次提交
-
-
由 wu-sheng 提交于
-
由 wu-sheng 提交于
* Set the endpoint name length to 150, to keep safe and avoid over-length. * Set endpointNameMaxLength in the application.yml * Fix a mischange. * Correct the endpoint name length control logic Co-authored-by: Nkezhenxu94 <kezhenxu94@apache.org>
-
由 kezhenxu94 提交于
MEDIUMTEXT in H2 is CLOB in JDBC type, and casting it to `String` causes `ClassCastException`
-
- 30 3月, 2020 2 次提交
-
-
由 wu-sheng 提交于
- Add length definition with reasonable default value. - #content of @Column has been renamed to storageOnly . I add this to many fields as they are not being query in any case. - Merge H2 and MySQL columntype mapping back to consistent. - Remove @IDColumn. - Support @QueryUnifiedIndex. - Refactor the MySQL and H2 installers to use @Column and @QueryUnifiedIndex definitions to create indices automatically. But the index naming rule has been changed to entityseqIDX. seq is the Increment Interger for every entity. - Support @MetricsExtension and insertOnly in the MetricsPersistentWorker worker. - Optimize MetricsStreamProcessor
-
由 Daming 提交于
* Escape '/' on InfluxDB * fix checkstyle
-