Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes on the different configurations of the new and old versions of easeagent #140

Closed
observeralone opened this issue Dec 7, 2021 · 1 comment

Comments

@observeralone
Copy link
Contributor

background:

Starting from 2.0.0, easeagent will use plug-in solutions for monitoring. With the application of the plug-in solution, the configuration rules have also changed.
The old rules are configured as follows:

observability.metrics.enabled=true
# metrics access
observability.metrics.access.enabled=true
observability.metrics.access.interval=30
observability.metrics.access.topic=application-log
observability.metrics.access.appendType=kafka

The new rule configuration is as follows:

plugin.observability.global.metric.enabled=true
plugin.observability.access.metric.enabled=true
plugin.observability.access.metric.interval=30
plugin.observability.access.metric.topic=application-log
plugin.observability.access.metric.appendType=kafka

The migration of plugin will cause the old configuration to become invalid.
Since there are other control systems that use api to modify the configuration, it is not friendly to discard it directly.

action

We decided to be compatible with the old version of the api configuration interface, modify the configuration monitored by the api, and convert it to the new version of the configuration through rules.
observability.metrics.enabled to plugin.observability.global.metric.enabled
For new configurations in the future, please use the new version of the configuration rules.

@Oseenix
Copy link
Contributor

Oseenix commented Dec 23, 2021

finished

@Oseenix Oseenix closed this as completed Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants