kezhenxu94
69e3d80e24
Add selector property in application.yml ( #4514 )
...
### Motivation
Ease the efforts of modifying configurations in automatic workflow and scripts, like Docker and helm chart.
### Modification
Add a `selector` property into `application.yml` to enable switching configuration simply by environment variables or system properties, and filter the unselected options, leaving only selected one.
### Result
- We can switch a configuration by environment variables or system property
- Closes #4511
2020-03-15 23:28:14 +08:00
Gao Hongtao
78d14ebbd6
Enable OAP gRPC SSL transportation ( #4470 )
...
* Enable OAP gRPC SSL transportation
Porting to OpenSSL to enable SSL transportation. The server private
key is in the format of PCKS#8, certificates is x509 though.
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add netty-tcnative-boringssl-static 2.0.26 licnese
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Update docs/en/setup/backend/grpc-ssl.md
Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>
* Update docs/en/setup/backend/grpc-ssl.md
Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>
* Add SSL to grpc remote client and sharing server
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Update documents
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Fix nits
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Fix test case
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add e2e-ssl and remove other test cases temporarily
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add TLS relevant files
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Decrease timeout
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Test config works
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* triger CI on oap-ssl branch
* Disable agent ca
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Switch to sharing server
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add agent log to console
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Upload log files
* Change backend
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Revert "Change backend"
This reverts commit 7a085711e3653d3bf642aa84f73650e22595e383.
* Update backend
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Revert e2e
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Ignore TSL relevant files
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Polish codes
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Update certificates expires year to 2120
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-15 08:15:28 +08:00
吴晟 Wu Sheng
e69391a207
Support Secrets Management File in the ElasticSearch 6/7 storage ( #4493 )
...
* Temp commit
* Support secretsManagementFile file.
* Update doc.
* 1. Support JKS/pass runtime change too.
2. Follow review.
* Fix format.
* Fix username/password/trustPass haven't been updated in the es client.
* Fix doc issue.
Co-authored-by: Jared Tan <jian.tan@daocloud.io>
2020-03-13 20:50:14 +08:00
吴晟 Wu Sheng
d32450aa7d
Support name column(s) in the storage for 3rd party integration, like Kibana. Default OFF ( #4439 )
...
* Support dynamic column in the source.
* Support activeExtraModelColumns as a default OFF option.
* Fix words
* Update backend-setup.md
Fix format issue.
2020-03-04 14:44:54 +08:00
Daming
29da5738bc
Provide influxdb as a new storage plugin ( #4239 )
...
* provide influxdb as a new storage plugin
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-02-19 18:00:57 +08:00
吴晟 Wu Sheng
334239388a
Support Daily Index Step feature in the OAP ( #4368 )
...
* Support Daily Index Step.
* Fix format.
* Fix mischanged ES.
2020-02-16 20:48:04 +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
mrproliu
4cf0600f35
Provide profile task downstream to sniffer ( #4172 )
...
* Provide profile task downstream to sniffer
* fix agent unit testcase issue
* add profile switch config on sniffer
* fix es error
* 1. add @DefaultImplementor on the sniffer profile task service
2. change ProfileTaskExecutionService#PROFILE_TASK_READY_SCHEDULE to final and remove volatile
2. fix style error
* change timeFromStartMills use `<` to compare
* 1. add `maxSamplingCount` to profile task
2. make profile task limit to the common package
* 1. change `agent.active_profile` to `profile.active` and make true on default
2. add `maxSamplingCount` in profile task
3. use `createTime` to check has new command list
4. add task re-check before process profile task
* 1. add `profile-receiver` document
2. change `ProfileTaskExecutionService` use single schedule thread pool
3. cache dont need fetch data when no data, use auto-fresh mechanism only
* remove navigate time judge, fix comment wrong meaning
2020-01-09 09:35:39 +08:00
web-xiaxia
5fba91901f
add Dynamic Configuration Consul AclToken ( #4161 )
...
* Update ConsulConfigurationCenterSettings.java
add aclTokne
* Update ConsulConfigurationWatcherRegister.java
add aclToken
* Update application.yml
add aclToken
* Update ConsulConfigurationCenterSettings.java
add aclToken
* Update application.yml
add aclToken
* add aclToken
* Replace with util
* Replace with util
* add consul aclToken
2020-01-02 20:05:16 +08:00
mrproliu
d38a8eaaa7
Provide thread monitor create task feature ( #4145 )
...
* provide thread monitor task service to create
* provide thread monitor task GraphQL implements
* 1. change thread monitor field names
2. fix `getThreadMonitorTaskList` query time bucket error
* provide config stream processor
* update submodule `query-protocol`
* resolve e2e-mysql error
* remove useless storage interface method.
* rename `ThreadMonitorTask` to `ProfileTask`
* change e2e-profile to the top level
* fix profile test analyze error
* remove StringUtil#isBlank.
* 1. remove create profile task duration unit
2. remove GraphQL getTask list duration field
3. add `profileTaskQueryMaxSize` in `storage` -> `elasticsearch(7)` configuration, default get 200 profile task
* provide e2e different storage tests
* 1. fix rat check
2. remove DurationUtils.java#toSecond
3. remove ProfileTaskQueryEs7DAO
* fix e2e code format error
* provide es6 and es7 storage e2e tests
* change e2e profile es module artifactId
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2019-12-31 20:49:45 +08:00
吴晟 Wu Sheng
7c535f8612
Fix es7 dist not uploaded in the release process. ( #4112 )
2019-12-24 12:07:19 +08:00