This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a change to branch chore/code-style in repository https://gitbox.apache.org/repos/asf/skywalking.git.
discard bd67f14 Set up more strict code style rules add fa526e5 Provide profile analyze query (#4335) add bd3e522 Set up more strict code style rules This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (bd67f14) \ N -- N -- N refs/heads/chore/code-style (bd3e522) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: dist-material/application.yml | 88 ++--- .../src/main/resources/application.yml | 46 +-- .../oap/server/core/CoreModuleConfig.java | 10 + .../oap/server/core/CoreModuleProvider.java | 2 +- .../core/profile/analyze/ProfileAnalyzer.java | 144 +++++++- .../server/core/query/ProfileTaskQueryService.java | 12 +- .../profile/IProfileThreadSnapshotQueryDAO.java | 20 ++ .../server/core/profile/ProfileAnalyzerTest.java | 7 +- .../{bean => analyze}/ProfileStackAnalyze.java | 19 +- .../ProfileStackAnalyzeHolder.java | 4 +- .../{bean => analyze}/ProfileStackData.java | 7 +- .../ProfileStackElementMatcher.java | 5 +- .../oap/query/graphql/resolver/ProfileQuery.java | 15 +- .../query/ProfileThreadSnapshotQueryEsDAO.java | 57 +++ .../StorageModuleElasticsearch7Provider.java | 30 +- .../query/ProfileThreadSnapshotQueryEs7DAO.java | 47 +++ .../h2/dao/H2ProfileThreadSnapshotQueryDAO.java | 77 +++- .../plugin/jdbc/mysql/MySQLStorageProvider.java | 2 + test/e2e-mesh/e2e-istio/scripts/compile_build.sh | 2 +- test/e2e/e2e-mysql/src/docker/rc.d/rc0-prepare.sh | 4 +- .../skywalking/e2e/profile/TestController.java | 4 +- .../src/docker/rc.d/rc0-prepare.sh | 4 +- .../skywalking/e2e/profile/ProfileClient.java | 73 ++-- .../e2e/profile/query/ProfileAnalyzation.java | 81 +++++ ...atcher.java => ProfileStackElementMatcher.java} | 25 +- ...ksMatcher.java => ProfileStackTreeMatcher.java} | 24 +- ...ProfileVerificationITCase.profileAnayzation.yml | 389 +++++++++++++++++++++ .../src/main/resources/getProfileAnalyzation.gql} | 21 +- .../skywalking/e2e/ProfileVerificationITCase.java | 113 ++++-- 29 files changed, 1112 insertions(+), 220 deletions(-) rename oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/profile/{bean => analyze}/ProfileStackAnalyze.java (68%) rename oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/profile/{bean => analyze}/ProfileStackAnalyzeHolder.java (93%) rename oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/profile/{bean => analyze}/ProfileStackData.java (91%) rename oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/profile/{bean => analyze}/ProfileStackElementMatcher.java (97%) create mode 100644 oap-server/server-storage-plugin/storage-elasticsearch7-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch7/query/ProfileThreadSnapshotQueryEs7DAO.java create mode 100644 test/e2e/e2e-profile/e2e-profile-test-runner/src/main/java/org/apache/skywalking/e2e/profile/query/ProfileAnalyzation.java copy test/e2e/e2e-profile/e2e-profile-test-runner/src/main/java/org/apache/skywalking/e2e/profile/query/{ProfileTaskLogMatcher.java => ProfileStackElementMatcher.java} (60%) copy test/e2e/e2e-profile/e2e-profile-test-runner/src/main/java/org/apache/skywalking/e2e/profile/query/{ProfilesTasksMatcher.java => ProfileStackTreeMatcher.java} (69%) create mode 100644 test/e2e/e2e-profile/e2e-profile-test-runner/src/main/resources/expected-data/org.apache.skywalking.e2e.ProfileVerificationITCase.profileAnayzation.yml copy test/e2e/{e2e-base/src/main/resources/endpoints.gql => e2e-profile/e2e-profile-test-runner/src/main/resources/getProfileAnalyzation.gql} (67%)