Commit Graph

60 Commits

Author SHA1 Message Date
吴晟 Wu Sheng 3794b3dc91
Add a FAQ about other storage options. (#12059) 2024-03-29 11:55:18 +08:00
吴晟 Wu Sheng 45692303ce
Reorganize API docs. (#10160) 2022-12-15 15:42:38 +08:00
吴晟 Wu Sheng 7f21f2ee8a
Polish docs for sharding mode. (#9457) 2022-08-10 21:51:41 +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
cui fliter 3fe3a11547
fix some typos (#9292)
Signed-off-by: cui fliter <imcusg@gmail.com>
2022-06-30 23:30:08 +08:00
Wan Kai 051431fde7
SQL Database: provide `@SQLDatabase.AdditionalEntity` to support create additional tables from a model. (#9098)
* SQL Database: provide `@SQLDatabase.AdditionalEntity` to support create additional tables from a model.
* [Breaking Change] SQL Database: remove SQL Database config `maxSizeOfArrayColumn` and `numOfSearchableValuesPerTag`.
* [Breaking Change] SQL Database: move `Tags list` from `Segment`,`Logs`,`Alarms` to their additional table.
* Upgrade doc
2022-05-20 08:29:32 +08:00
Wan Kai 2e7cf5db10
Remove `Layer` concept from `ServiceInstance`. (#9029) 2022-05-11 09:59:33 +08:00
Kai c66111c0d2
Update `k8s-monitoring`, `backend-telemetry` and `v9-version-upgrade` doc for v9. (#8813) 2022-04-06 08:55:15 +08:00
Non-Official NPM Mirror Bot 1553dfb682
update https://registry.npm.taobao.org to https://registry.npmmirror.com (#8538) 2022-02-12 15:19:05 +08:00
吴晟 Wu Sheng 6385c35322
Polish v9 upgrade FAQ (#8508) 2022-02-08 09:41:54 +08:00
wankai123 1025c974fc
Update doc: v9-version-upgrade (#8388) 2022-01-04 21:59:17 +08:00
wankai123 8bcf22f3d8
Support OAP server v9 Core concept: Layer, backend side (#8379) 2022-01-04 16:16:24 +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
吴晟 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
Zhenxu Ke 96082accbf
Fix broken link (#6992) 2021-05-21 15:48:15 +08:00
Wing 54997d1ecc
Refine FAQ (#6591) 2021-03-22 07:57:03 +08:00
Wing bc77726333
Refine FAQ (#6560) 2021-03-17 15:14:24 +08:00
Wing a01e846c1f
Refine FAQ (#6536) 2021-03-11 16:19:05 +08:00
Wing ad94caff5f
Refine FAQ (#6525) 2021-03-11 07:26:44 +08:00
Wing 1a7cc805af
Refine FAQ (#6512) 2021-03-08 17:14:39 +08:00
Wing 2ec89da3d5
Refine Hour-Day-Metrics-Stopping.md and How-to-build-with-mac-m1.md (#6500) 2021-03-06 17:59:05 +08:00
Wing 9f00af6c50
Refine ES-Server-FAQ.md (#6486) 2021-03-04 20:51:42 +08:00
Wing a11a048743
Refine Compatible-with-other-javaagent-bytecode-processing.md and rename to Compatibility-with-other-Java-agent-bytecode-processes.md (#6467) 2021-02-28 00:27:09 +08:00
John Bampton 85fc4f827c
Fix spelling (#6418) 2021-02-22 07:40:35 +08:00
吴晟 Wu Sheng 9268b987af
Fix wrong FAQ catalog (#6254) 2021-01-25 20:20:46 +08:00
zifeihan 43e2458e6b
[FAQ doc] Fix compiling on Mac M1 chip (#6241) 2021-01-22 09:03:50 +08:00
Lu Jiajing d9623ec487
Spring-Kafka 1.x support (#5879)
* support spring-kafka 1.3.x and add test

* add spring-kafka-1.3.x-scenario to github workflow

* change kafka-plugin FAQ

* add supported versions

* update CHANGES.md
2020-11-24 19:32:37 +08:00
吴晟 Wu Sheng d1c8831d31
Add FAQ about VNode on the UI. (#5768)
* Add FAQ about VNode on the UI.

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-11-02 15:51:21 +08:00
zifeihan 06bec02869
Fix application start duration log "Failed to load class org.slf4j.impl.StaticLoggerBinder." (#5678)
* Fix application start duration log "Failed to load class "org.slf4j.impl.StaticLoggerBinder"." when use kafka reporter. because kafka reporter use slf4j-api, but no implementor for slf4j.

* Polishing.

* Adapter slf4j Logger of agent used to skywalking agent Logger.

* Make the comments more accurate.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-17 09:44:42 +08:00
Daming 98968122e9
Provide Thrift Plugin (#5644) 2020-10-16 16:09:47 +08:00
于玉桔 ab5555fe27
Support @KafkaPollAndInvoke annotation to replace @Trace when just using the Kafka scenario agent plugin (#5304) 2020-08-13 21:18:04 +08:00
于玉桔 e37fc2e439
Support spring-kafka (#5254) 2020-08-10 19:13:19 +08:00
吴晟 Wu Sheng 906c2329fc
Changelog of 8.1.0 release. (#5180) 2020-07-27 13:57:57 +08:00
于玉桔 00619a9a3d
Java agent memory leak when enhance `Worker thread` at use Thread Pool (#5009) 2020-07-02 09:27:06 +08:00
gongdewei 1817386391
Support cache mode in the agent. (#4858) 2020-07-01 23:20:50 +08:00
吴晟 Wu Sheng 2dd9a3fd19
Add v8 upgrade document and fix some tiny doc issues. (#4787)
* Add v8 upgrade document and fix some tiny doc issues.

* Add link to STAM paper.
2020-05-14 18:43:32 +08:00
Gao Peng ccb23d0faf
#4463 FAQ for Maven compilation failure with error like python2 not found (#4473)
* #4463 FAQ for Maven compilation failure with error like python2 not found

* #4463 FAQ for Maven compilation failure with error like python2 not found

* Update maven-compile-npm-failure.md

* Update docs/en/FAQ/README.md

Co-Authored-By: 吴晟 Wu Sheng <wu.sheng@foxmail.com>

* Update docs/en/FAQ/maven-compile-npm-failure.md

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-03-09 19:54:58 +08:00
mrproliu 0df2d0a5e9
Provide profile exporter tool (#4416) 2020-03-04 20:28:14 +08:00
吴晟 Wu Sheng 329f7e150b
Support Downsampling Data Packing feature in ES storage implementation (#4364)
* Support day/hour/minute metrics merging into one index. Reduce the number of index 50%.
2020-02-16 09:03:30 +08:00
吴晟 Wu Sheng 421ba88dbf
Provide the new version upgrade documentation/FAQ. (#4311)
* Provide the new version upgrade documentation/FAQ.

* Make the sentence more clear.
2020-02-04 17:40:12 +08:00
吴晟 Wu Sheng 4e50132817
Remove the local/exit span register mechanism in Java agent scenario (#4059)
* Remove the local span and exit span register mechanism in Java agent scenario.

* Fix config, plugin, and document, as exit span is not required register anymore.

* Try to fix the test case expected data due to no register for exit span.

* Fix toolkit case.

* Remove exit span from plugin test framework document.

* Update protocol, FAQ, and CHANGELOG documents to highlight this change.

* Fix NPE when no entry span in the whole segment. Set endpoint to null in segment entity.

* Fix the snapshot and add inexistence operation name id.

* Fix several async cases.

* Fix undertow test case.

* Fix wrong error log name.

* Keep name consistent with 6.x concepts.

* Try to fix 3 async scenarios.

* Fix okhttp case.

* Fix Spring Async case.

* Fix another NPE

* Fix NPE when first span has no endpoint id when it is local or exit span.

* Still fill first operation name when no endpoint id.
2019-12-15 19:15:47 +08:00
Videl Smith daabc1f5b6 Documentation proofreading (#3999)
* Fixes: README.md

* Adds: new FAQ

See issues #3924, #3935, #3975

* Fixes: setup documentation

* Update README.md
2019-12-13 11:08:36 +08:00
Jared Tan a848033a75 add faq with es. (#3599)
* add faq with es.

* Update README.md
2019-10-11 17:14:26 +08:00
yuyujulin ad45a94ab7 correct a typo (#3483) 2019-09-18 15:09:51 +08:00
吴晟 Wu Sheng e1ce6edfab Fill my FAQ reply in official document. (#3450)
* Fill my FAQ reply in official document.

* Add image.
2019-09-11 07:09:50 +08:00
吴晟 Wu Sheng eff9faa8c9
Update backend-storage.md (#3222)
* Update backend-storage.md

* Update backend-storage.md

* Update ES-Server-FAQ.md
2019-08-06 21:19:00 +08:00
吴晟 Wu Sheng 825a52195d
Summary FAQ of WebSphere installation. (#2911)
* Create install_agent_on_websphere.md

* Update README.md
2019-06-19 22:40:55 +08:00
彭勇升 pengys 1e4fe42523 Update ES-Server-FAQ.md (#2897)
* Update ES-Server-FAQ.md

[Thread Pool](https://www.elastic.co/guide/en/elasticsearch/reference/6.3/modules-threadpool.html?nsukey=W48pJFXgvLgtyfM%2FXI%2FQ8BhcPYE0WjNFGwKD%2Bv0cjUkocQhh1FCPQwklwVBOec541GcUkX899f%2FQv5ikjA8ckqdcrlVHpjATTKbJarNA1Gr%2BltpTiDJe%2FMuqrZGa0CAkbLfIGrYqMyc0s%2BlkxFr%2BzEo2hmWsgMaPZvK9K6f9Xugz0k0v1Wb2nfeex8ZQn0Y9SFEHwRaYV5uzw8rnH9I%2BGg%3D%3D)

From this document, we can find that the bulk thread pool setting is deleted.

write
For single-document index/delete/update and bulk requests. Thread pool type is fixed with a size of # of available processors, queue_size of 200. The maximum size for this pool is 1 + # of available processors.

* Update ES-Server-FAQ.md
2019-06-18 16:07:50 +08:00
吴晟 Wu Sheng c3de8e8b7c
Add FAQ for ElasticSearch server side setting (#2859)
* Create ES-Server-FAQ.md

* Update README.md

* Update ES-Server-FAQ.md
2019-06-13 17:56:00 +08:00
康智冬 2dcf27b799 Update all "incubator-skywalking" to "skywalking" ,"incubator-servicecomb-java-chassis" to "servicecomb-java-chassis" correctly, and ".gitmodules" will update at #2531 (#2548) 2019-04-28 15:47:14 +08:00