Add one new layers for k8s (#8732)

This commit is contained in:
吴晟 Wu Sheng 2022-03-24 08:03:30 +08:00 committed by GitHub
parent 80c177f571
commit e0be87b8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 11 deletions

View File

@ -99,8 +99,8 @@ Release Notes.
* Expose more ElasticSearch health check related logs to help to
diagnose `Health check fails. reason: No healthy endpoint`.
* Add source `event` generated metrics to SERVICE_CATALOG_NAME catalog.
* [**Break Change**] Deprecate `All` from OAL source.
* [**Break Change**] Remove `SRC_ALL: 'All'` from OAL grammar tree.
* [**Breaking Change**] Deprecate `All` from OAL source.
* [**Breaking Change**] Remove `SRC_ALL: 'All'` from OAL grammar tree.
* Remove `all_heatmap` and `all_percentile` metrics.
* Fix ElasticSearch normal index couldn't apply mapping and update.
* Enhance DataCarrier#MultipleChannelsConsumer to add priority for the channels, which makes OAP server has a better
@ -109,17 +109,17 @@ Release Notes.
* Activate `satellite,spring-sleuth` for `agent-analyzer#meterAnalyzerActiveFiles` on default.
* Activate `receiver-zabbix` receiver with `agent` rule on default.
* Replace HTTP server (GraphQL, agent HTTP protocol) from Jetty with Armeria.
* [**Break Change**] Remove configuration `restAcceptorPriorityDelta` (env var: `SW_RECEIVER_SHARING_JETTY_DELTA`
* [**Breaking Change**] Remove configuration `restAcceptorPriorityDelta` (env var: `SW_RECEIVER_SHARING_JETTY_DELTA`
, `SW_CORE_REST_JETTY_DELTA`).
* [**Break Change**] Remove configuration `graphql/path` (env var: `SW_QUERY_GRAPHQL_PATH`).
* [**Breaking Change**] Remove configuration `graphql/path` (env var: `SW_QUERY_GRAPHQL_PATH`).
* Add storage column attribute `indexOnly`, support ElasticSearch only index and not store some fields.
* Add `indexOnly=true` to `SegmentRecord.tags`, `AlarmRecord.tags`, `AbstractLogRecord.tags`, to reduce unnecessary
storage.
* [**Break Change**] Remove configuration `restMinThreads` (env var: `SW_CORE_REST_JETTY_MIN_THREADS`
* [**Breaking Change**] Remove configuration `restMinThreads` (env var: `SW_CORE_REST_JETTY_MIN_THREADS`
, `SW_RECEIVER_SHARING_JETTY_MIN_THREADS`).
* Refactor the core Builder mechanism, new storage plugin could implement their own converter and get rid of hard
requirement of using HashMap to communicate between data object and database native structure.
* [**Break Change**] Break all existing 3rd-party storage extensions.
* [**Breaking Change**] Break all existing 3rd-party storage extensions.
* Remove hard requirement of BASE64 encoding for binary field.
* Add complexity limitation for GraphQL query to avoid malicious query.
* Add `Column.shardingKeyIdx` for column definition for BanyanDB.
@ -142,8 +142,8 @@ NOTICE, this sharding concept is NOT just for splitting data into different data
#### UI
* [**Break Change**] Introduce Booster UI, remove RocketBot UI.
* [**Break Change**] UI Templates have been redesigned totally. GraphQL query is minimal compatible for metadata and
* [**Breaking Change**] Introduce Booster UI, remove RocketBot UI.
* [**Breaking Change**] UI Templates have been redesigned totally. GraphQL query is minimal compatible for metadata and
metrics query.
* Remove unused jars (log4j-api.jar) in classpath.
* Bump up netty version to fix CVE.

View File

@ -45,12 +45,12 @@ public enum Layer {
GENERAL(2, true),
/**
* Operation System Linux
* Linux Machine
*/
OS_LINUX(3, true),
/**
* Kubernetes, include pods, services, contains etc.
* Kubernetes cluster
*/
K8S(4, true),
@ -112,7 +112,12 @@ public enum Layer {
/**
* The uninstrumented gateways configured in OAP
*/
VIRTUAL_GATEWAY(16, false);
VIRTUAL_GATEWAY(16, false),
/**
* Kubernetes service
*/
K8S_SERVICE(17, true);
private final int value;
/**