Commit Graph

133 Commits

Author SHA1 Message Date
Kirs ebe0078c34
Fix dependency license's NOTICE and binary jar included issues in the source release. (#9513) 2022-08-24 21:27:13 +08:00
Wan Kai 7df469a6e8
Fix JDBC TTL to delete additional tables data. (#9508) 2022-08-24 18:41:21 +08:00
pg.yang 1d930d0bb8
Update alarm doc introduce keys with data types of the configuration file. (#9514) 2022-08-24 07:31:30 +08:00
Fine0830 2942af80ef
sync ui (#9505) 2022-08-22 22:15:33 +08:00
kezhenxu94 c8a78149a6
Enable otlp OC handler by default and polish doc (#9499) 2022-08-22 16:09:59 +08:00
yswdqz 828669ce2a
Support PostgreSQL monitoring. (#9495) 2022-08-22 14:29:26 +08:00
kezhenxu94 f96b3eacf1
Adapt OpenTelemetry native metrics protocol (#9497) 2022-08-21 21:13:23 +08:00
kezhenxu94 17968b6690
Bump up kubernetes java client to fix cve (#9498) 2022-08-21 19:32:34 +08:00
kezhenxu94 e3d091ebd5
Add Kubernetes support module to share codes between modules and reduce calls to Kubernetes API server (#9493) 2022-08-20 15:24:44 +08:00
mrproliu 1b38dd9526
Add Spring Sleuth dashboard to general service instance template (#9478) 2022-08-18 08:15:42 +08:00
Wan Kai aa8ddd2587
Optimize TTL mechanism for Elasticsearch storage, skip executed indices in one TTL rotation. (#9473)
* Optimize TTL mechanism for Elasticsearch storage, skip executed indices in one TTL rotation

* remove inspect
2022-08-16 12:41:43 +08:00
mrproliu 9e07ad7e9f
Fix query history process data failure (#9471) 2022-08-15 18:17:52 +08:00
Brandon Fergerson d1f898419b
feat: support sending alarm to discord (#9469) 2022-08-14 14:58:44 +08:00
Wan Kai 6ab00031a0
Fix query services by serviceId error when Elasticsearch storage `SW_STORAGE_ES_QUERY_MAX_SIZE` > 10000 (#9468) 2022-08-12 20:05:54 +08:00
yswdqz aa6c5e9182
Support MySQL monitoring. (#9432) 2022-08-12 16:51:36 +08:00
pg.yang 29c4344bd3
Add component id for Micronaut HTTP plugin (#9455) 2022-08-10 22:49:12 +08:00
吴晟 Wu Sheng b15bbecb73
Add an explanation doc for alerting kernel mechanism (#9446) 2022-08-09 22:39:29 +08:00
Wan Kai 8a8070025a
Support Elasticsearch column alias for the compatibility between storage logicSharding model and no-logicSharding model. (#9442)
## New ElasticSearch storage option explanation in 9.2.0
Since v9.2.0, SkyWalking OAP provides 2 storage options for metrics/meter and records, 
system environment variable is (`SW_STORAGE_ES_LOGIC_SHARDING`):

### No-Sharding Model (OAP default setting, `SW_STORAGE_ES_LOGIC_SHARDING = false`)
1. OAP merges all metrics/meter and records(without super datasets, such as segments) indices into one physical 
index template `metrics-all` and `records-all`.
2. The logic index name would be present in columns `metric_table` and `record_table`.
3. If the logic column name has an alias (configured by `@ElasticSearch.Column()`), the alias would be the real physical column name.

### No-Sharding Model (`SW_STORAGE_ES_LOGIC_SHARDING = true `)
1. OAP shard metrics/meter indices into multi-physical indices as in the previous versions(one index template per metric/meter aggregation function).
2. Records and metrics without configuring aggregation function in `@MetricsFunction` and `@MeterFunction` would not be sharded.
3. The shard template name would be `metrics-aggregation function name` or `meter-aggregation function name` such as `metrics-count`,
and the logic index name would be present in column `metric_table`.
4. The OAP **would not** use the column alias, the logic column name would be the real physical column name.

**Notice**: 
Users still could choose to adjust ElasticSearch's shard number(`SW_STORAGE_ES_INDEX_SHARDS_NUMBER`) to scale out no matter the option.
2022-08-09 22:24:45 +08:00
吴晟 Wu Sheng 7f371ed565
[Critical] Fix a low performance issue of metrics persistent in ES (#9437)
[Critical] Fix a low-performance issue of metrics persistent in the ElasticSearch storage implementation. One single metric could have to wait for an unnecessary 7~10s(System Env Variable SW_STORAGE_ES_FLUSH_INTERVAL).

This is a solid and critical performance issue, from the self-observability metric, we could find one metric that would need 7-10s to execute the data flush, which is not expected.
2022-08-08 19:38:58 +08:00
Fine0830 fedc20991d
Sync ui: add a calculation to convert seconds to days (#9434) 2022-08-08 11:43:06 +08:00
Fine0830 93d2974cb5
sync ui (#9433) 2022-08-07 19:53:32 +08:00
mrproliu 0c2bf2c9ff
Support analyze the component in the eBPF Network profiling (#9430) 2022-08-06 23:32:14 +08:00
mrproliu 4bd4231b60
Elasticsearch storage support merge all records(without super datasets) indices into one physical index (#9424) 2022-08-05 10:40:33 +08:00
Wan Kai 85c09153b5
Fix Zipkin trace query the max size of spans (#9423) 2022-08-04 13:32:42 +08:00
Wan Kai 0a032ced18
Elasticsearch storage support merge all metrics/meter indices into one physical index (#9416) 2022-08-03 21:18:30 +08:00
StreamLang b21d511747
Add VIRTUAL_CACHE layer to fix Cache server icon in topology (#9414) 2022-08-01 13:48:05 +08:00
Fine0830 486a194b4f
sync ui (#9406) 2022-07-29 16:55:20 +08:00
mrproliu b8cf95d165
Add `SUM_PER_MIN`(sumHistogramPercentile) downsampling in MAL. Add eBPF Network Profiling E2E (#9377) 2022-07-28 10:00:36 +08:00
Wan Kai a00c68d471
Add log widget to general service root (#9393) 2022-07-28 08:39:36 +08:00
Fine0830 cdfdf3cfaf
sync ui (#9391) 2022-07-27 16:59:45 +08:00
吴晟 Wu Sheng bb8f9e1f38
Update changes.md (#9378) 2022-07-25 08:57:11 +08:00
kezhenxu94 c2c6e5c8b1
Sync ui module (#9365) 2022-07-21 10:48:24 +08:00
kezhenxu94 9cb3ef12ae
Add event widgets in dashboard where applicable (#9361) 2022-07-21 09:18:23 +08:00
Brandon Fergerson fd6d0ee743
Fixes Banynadb race condition (#9360) 2022-07-20 15:23:23 +08:00
Fine0830 ab37462765
sync ui (#9354) 2022-07-19 14:53:39 +08:00
Wan Kai a5eafaebd5
Dashboard: Add metrics association and fix. (#9347) 2022-07-18 22:55:50 +08:00
Wan Kai 14800cbc57
Optimize elasticsearch query performance by using `_mGet` and physical index name (#9339)
Optimize ElasticSearch query performance by using `_mGet` and physical index name rather than alias in these scenarios:
(a) Metrics aggregation 
(b) Zipkin query
(c) Metrics query
(d) Log query
2022-07-14 10:40:21 +08:00
Fine0830 63636fbed3
sync ui (#9341) 2022-07-13 23:51:06 +08:00
mrproliu 5ea7c0d778
Support eBPF Network Profiling (#9337) 2022-07-13 22:41:22 +08:00
kezhenxu94 bf74b66763
Skip loading UI templates if folder is empty or doesn't exist (#9338)
UI templates are configurable, users might add or remove configs
as they want, so we don't need to throw exception for inexistent
paths, this allow users to remove templates they don't want, or
even disable the `ui_template` index.
2022-07-13 14:48:15 +08:00
吴晟 Wu Sheng 90b268e110
Revert #8066 introduced in 8.9.0 (#9336)
* Revert #8066

* Update changelog
2022-07-13 08:02:45 +08:00
吴晟 Wu Sheng a46cfa0249
Remove legacy OAL `percentile` functions, `p99`, `p95`, `p90`, `p75`, `p50` func(s) (#9335) 2022-07-12 23:38:56 +08:00
kezhenxu94 71ef9eaf5a
Clean up doc about event metrics (#9329) 2022-07-09 11:32:52 +08:00
Fine0830 29cf7e994d
sync ui (#9326) 2022-07-08 17:08:46 +08:00
jiang1997 afe5afc302
Add component ID for Python Bottle plugin (#9305) 2022-07-04 22:11:36 +08:00
mrproliu 7bb8c69c67
Add `forEach`, `processRelation` function to MAL Expression, and add `expPrefix` and `initExp` in MAL config (#9299) 2022-07-04 20:59:34 +08:00
Jiajing LU d462682448
Fix missing sourceEndpointOwnerServiceLayer (#9300) 2022-07-04 08:29:38 +08:00
Wan Kai b9196966cd
Add Zipkin query exception handler, response error message for illegal arguments. (#9296) 2022-07-01 20:36:33 +08:00
geekymv 9793f323d5
Add component id for Hutool plugin (#9284) 2022-06-29 17:28:17 +08:00
mrproliu 46ae1cfe1e
Add `VIRTUAL` detect type to Process for Network Profiling (#9280) 2022-06-28 17:07:57 +08:00