Commit Graph

112 Commits

Author SHA1 Message Date
kezhenxu94 abd1a5ac16
chore: set default log level in docker to INFO (#12967) 2025-01-15 00:03:19 +08:00
kezhenxu94 c9a959e50e
Adapt the new metadata standardization in Istio 1.24 (#12768) 2024-11-13 14:41:51 +08:00
Gao Hongtao 28bf55219f
Bump BanyanDB Java Client to 0.6.0 (#12195) 2024-05-09 17:31:52 +08:00
kezhenxu94 52d5b2573c
Add doc of one-line quick start script for different storage types (#12014) 2024-03-14 11:55:34 +08:00
zsh d894acd875
fix: ui image name in docker-compose (#12012) 2024-03-13 21:12:01 +08:00
kezhenxu94 0fad582280
Add BanyanDB to docker-compose quickstart (#12006) 2024-03-12 16:37:52 +08:00
吴晟 Wu Sheng a65a6e0ff2
Remove CLI(`swctl`) from the image. (#11940) 2024-02-27 14:57:57 +08:00
kezhenxu94 81db831eb0
Revert "Change base image from `eclipse-temurin:x-jre` to `eclipse-temurin:x-jre-alpine` to reduce CVE exposure surface (#11181)" (#11182)
This reverts commit 2719c7db18.
2023-08-07 10:29:21 +08:00
kezhenxu94 2719c7db18
Change base image from `eclipse-temurin:x-jre` to `eclipse-temurin:x-jre-alpine` to reduce CVE exposure surface (#11181) 2023-08-07 09:16:20 +08:00
kezhenxu94 5f1f6cbf49
Add comment for `docker/.env` to explain the usage (#11019) 2023-06-29 15:56:43 +08:00
innerpeacez af657356ed
Add `/skywalking/bin` to PATH in docker (#10584) 2023-03-24 12:42:40 +08:00
kezhenxu94 4ee8389b5c
Add Zipkin UI to webapp (#10167) 2022-12-17 14:30:51 +08:00
kezhenxu94 b3c7658a0e
webapp: migrate from Spring Web to Armeria (#9592) 2022-09-11 16:33:53 +08:00
kezhenxu94 3256b6c9d9
Add data-generator module to run OAP in testing mode, generating mock data for testing (#8725) 2022-04-23 17:00:32 +08:00
kezhenxu94 f729c0c5a4
Add Docker images based on 17 and test it (#8476) 2022-01-25 18:28:09 +08:00
mrproliu fe1eedd479
Add link Satellite as Load Balancer documentation and compatibility with satellite (#8228) 2021-12-02 15:23:40 +08:00
kezhenxu94 ba630a3cb9
Add Docker images for arm64 architecture (#8141) 2021-11-17 21:26:25 +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
kezhenxu94 fc196efd7d
chore: build `swctl` from CLI Docker image instead of building from source (#7958) 2021-10-19 14:16:28 +08:00
kezhenxu94 f61dff9a9f
Merge `Dockerfile`s in apache/skywalking-docker into this codebase (#7681) 2021-09-09 12:37:50 +08:00
Gao Hongtao 02458cb42d
Use the jre image as the base image (#7680) 2021-09-08 21:28:41 +08:00
kezhenxu94 26b81a2e59
Rebuilt ElasticSearch client on top of their REST API (#7634) 2021-09-06 15:21:35 +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
Jared Tan 375138887a
update jdk 11 in dockerfile and remove unused java_opts. (#7441)
* update jdk 11 and remove unused java_opts.
2021-08-11 19:27:25 +08:00
Jared Tan 0efc733901
Replace zuul proxy with spring cloud gateway 2.x. in webapp module. (#7220) 2021-07-04 10:24:56 +08:00
Gao Hongtao 669fe1593c
Upgrade OAP dependencies (#7119)
* Introduce trivy to scan images

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Fix CVE

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update licenses

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Remove log4j 1.x

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update CHANGES.md

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update LICENSE refer to webapp

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-06-16 12:14:39 +08:00
Zhenxu Ke 8d7d8650da
Add Dockerfile and build script for Java agent Docker image (#6686) 2021-04-06 21:52:31 +08:00
Zhenxu Ke b5367aa6b1
test: extract so11y test and add logs (#5955)
* Increase metrics time range
* Remove unused codes
* Update SO11yE2E.java

Co-authored-by: Hongtao Gao <hanahmily@gmail.com>
2020-12-06 22:15:37 +08:00
kezhenxu94 8da9bf94ab
ALS analyzer based on Envoy metadata exchange (#5800) 2020-11-09 00:01:12 +08:00
kezhenxu94 92bb474c2d
Improve Kubernetes service registry for ALS analysis (#5722)
The current implementation of envoy ALS K8S analysis is based on the hierarchy, pod -> StatefulSet -> deployment, StatefulSet, or others. It's freaky and different from the Istio Kubernetes registry.

The new path is pod -> endpoint -> service, and we should leverage Informer API instead of raw Kubernetes API.
2020-10-29 18:22:38 +08:00
Jared Tan 6d8159cef0
Reformat ui dockerfile. (#5724) 2020-10-25 22:31:59 +08:00
kezhenxu94 239eaa01fd
test: set up ALS E2E test (#5675) 2020-10-15 23:20:46 +08:00
Gao Hongtao 24eeb5d83b
Add swctl to docker image for health check (#5139) 2020-08-06 10:54:40 +08:00
Cvimer 79be376a0b
Support solf link of config file in docker (#5041) 2020-07-07 07:51:01 +08:00
Gao Hongtao 4f0f39ffcc
Ingest prometheus metrics through meter system (#4783) 2020-06-08 09:19:34 +08:00
qiyang 7b9dfa2399
Fix docker-entrypoint.sh error (#4812)
Co-authored-by: 亓杨 <qiyang@enmonster.com>
2020-05-22 21:06:32 +08:00
kezhenxu94 8e6a527f78
Add Java versions 9~14 to E2E tests (#4674) 2020-04-21 13:45:32 +08:00
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
kezhenxu94 9c974b80b4
Fix unclear doc and add missing variable (#4484)
* Revert "[BugFix] Docker InfluxDB cannot be enabled (#4483)"

This reverts commit 73d0802cd6.

* Fix unclear doc and add missing variable
2020-03-11 07:46:59 +08:00
kezhenxu94 73d0802cd6
[BugFix] Docker InfluxDB cannot be enabled (#4483)
Motivation:

This patch fixes the bug that there's no chance to enable the InfluxDB storage in docker container.

Modifications:

Generate InfluxDB configuration section to enable it.

Result:

Users can enable InfluxDB by specifying SW_STORAGE=influxdb
2020-03-10 20:41:34 +08:00
kezhenxu94 fff3378d40
[BugFix] Docker so11y cannot be disabled (#4471)
### Motivation:

This patch fixes the bug that there's no chance to disable the so11y in docker container.

### Modifications:

- Remove the default so11y section, and only add it when the environment variable exists.

### Result:

- Users can disable so11y by leaving the `SW_TELEMETRY` empty or set it to `none`
2020-03-09 20:42:26 +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
kezhenxu94 5b255ba3e3
Set up more strict code styles and fix existing issues (#4337)
Motivation:

Review code styles with some bots automatically.

Modifications:

Set up ReviewDog in GitHub Action to review code style.

Add more check rules to checkstyle plugin.

Result:

Obvious code styles can be reviewed and commented automatically.
2020-02-11 17:10:49 +08:00
Jared Tan 1310719645
add token authentication between agent and oap receiver. (#4197)
* add token authentication between agent and oap receiver.

* revert ui.

* fix code style.

* update docs.

* Update docs/en/setup/backend/backend-token-auth.md

Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>

* fix hits.

* filter

* revert yml.

* update logical.

* fix codestyle check.

* fix ci and add e2e test case.

* revert mistake commit.

* fix ci

* remove duplicate maven dependency.

* revert pom

* revert unchanged.

* update javadocs.

* update logical.

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-01-12 23:08:39 +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
Gao Hongtao 8d0c3b912f Add es7 support to docker (#4043)
* Add es7 support to docker

* Add es7 to github aciton workflow

* Rename dockerfile

* Update docker-compose

* Update matrix es name

* Set oap tag

* Add document

* Update How-to-build.md
2020-01-05 17:08:14 +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
Jared Tan a836612534 Fix docker-entrypoint.sh generate error. (#4062)
fix docker-entrypoint.sh generate error in generateStorageMySQL() method.
2019-12-14 18:21:13 +08:00
Gao Hongtao fa2af52cce Extending OAP docker container (#3919)
* Add ext lib and ext config

* Add container checker
2019-11-23 00:42:11 +08:00