Skip to content

Add cluster concept to the configuration, and enhance namespace concept#123

Merged
wu-sheng merged 3 commits into
mainfrom
add-cluster-ns
Mar 12, 2022
Merged

Add cluster concept to the configuration, and enhance namespace concept#123
wu-sheng merged 3 commits into
mainfrom
add-cluster-ns

Conversation

@wu-sheng

@wu-sheng wu-sheng commented Mar 12, 2022

Copy link
Copy Markdown
Member
  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
  • Update the CHANGES log.
  • [Important] Namespace represents a subnet, such as kubernetes namespace, or 172.10... Make namespace concept as a
    part of service naming format.
  • [Important] Add cluster concept, also as a part of service naming format. The cluster name would be
    1. Add as {@link #SERVICE_NAME} suffix.
    2. Add as exit span's peer, ${CLUSTER} / original peer
    3. Cross Process Propagation Header's value addressUsedAtClient[index=8] (Target address of this request used on the
      client end).
  • [Breaking Change] Remove deprecated agent.instance_properties configuration.
    Recommend agent.instance_properties_json.
  • The namespace and cluster would be reported as instance properties, keys are namespace and cluster. Notice, if
    instance_properties_json includes these two keys, they would be overrided by the agent core.
  • [Breaking Change] Remove the namespace from cross process propagation key.

* [Important] Add cluster concept, also as a part of service naming format. The cluster name would be
    1. Add as {@link #SERVICE_NAME} suffix.
    2. Add as exit span's peer, ${CLUSTER} / original peer
    3. Cross Process Propagation Header's value addressUsedAtClient[index=8] (Target address of this request used on the
       client end).
* [Breaking Change] Remove deprecated `agent.instance_properties` configuration.
  Recommend `agent.instance_properties_json`.
* The namespace and cluster would be reported as instance properties, keys are `namespace` and `cluster`. Notice, if
  instance_properties_json includes these two keys, they would be overrided by the agent core.
@wu-sheng wu-sheng added enhancement New feature or request core labels Mar 12, 2022
@wu-sheng wu-sheng added this to the 8.10.0 milestone Mar 12, 2022
@wu-sheng wu-sheng requested a review from kezhenxu94 March 12, 2022 13:38
kezhenxu94
kezhenxu94 previously approved these changes Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants