skywalking-java/oap-server
wallezhang 4b66f1e0a7
fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271)
* fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently. #6562

1. Rename current STATUS_CODE to HTTP_RESPONSE_STATUS_CODE, real tag key should be http.status_code.
2. Add a new string tag RPC_RESPONSE_STATUS_CODE to hold all string type value tag. The key is `rpc.status_code`.
3. At the backend, keep responseCode for HTTP_RESPONSE_STATUS_CODE tag, but add @Deprecated. Also, add httpResponseStatusCode(a duplicate of responseCode) and rpcStatusCode(for RPC_RESPONSE_STATUS_CODE) fields for OAL.

* Modify `Tags.STATUS_CODE` field name to `Tags.HTTP_RESPONSE_STATUS_CODE` and type from `StringTag` to `IntegerTag`, add `Tags.RPC_RESPONSE_STATUS_CODE` field to hold rpc response code value.

* Add `rpcStatusCode` for `rpc.status_code` tag in the OAL objects. The `responseCode` field is marked as deprecated and replaced by `httpResponseStatusCode` field. 

* Tag `status_code` is still supported in the backend for forward compatbility. Will be removed one year later.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-14 20:17:46 +08:00
..
analyzer fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271) 2021-08-14 20:17:46 +08:00
exporter DataCarrier changes a `#consume` API to add properties as a parameter to initialize consumer (#7452) 2021-08-13 14:05:10 +08:00
oal-grammar Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
oal-rt Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-alarm-plugin Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-bootstrap Add component id and icon for Python falcon plugin (#7446) 2021-08-12 12:17:01 +08:00
server-cluster-plugin Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-configuration Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-core fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271) 2021-08-14 20:17:46 +08:00
server-fetcher-plugin Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-health-checker Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-library Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-query-plugin [Break Change] Remove endpoint name in backend log and browser log query (#7444) 2021-08-12 09:44:19 +08:00
server-receiver-plugin fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271) 2021-08-14 20:17:46 +08:00
server-starter Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-starter-es7 Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-storage-plugin DataCarrier changes a `#consume` API to add properties as a parameter to initialize consumer (#7452) 2021-08-13 14:05:10 +08:00
server-telemetry Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-testing Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00
server-tools [Break Change] Remove endpoint name in the trace query condition. (#7438) 2021-08-11 16:27:10 +08:00
pom.xml Begin 8.8.0 iteration (#7395) 2021-07-30 23:01:09 +08:00