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

refactor!: remove legacy metrics api, event publishing to core-data #440

Merged

Conversation

iain-anderson
Copy link
Member

BREAKING CHANGE: Removed the Device.UseMessageBus config, the code for sending event via core-data REST client and the Clients.core-data dependency (MessageBus is always enabled in 3.0 for sending events)
BREAKING CHANGE: v2 metrics endpoint is removed for all services

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-sdk-c/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?)
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)

Closes #439
See also edgexfoundry/device-sdk-go#1301 and edgexfoundry/device-sdk-go#1298

Testing Instructions

New Dependency Instructions (If applicable)

@iain-anderson iain-anderson force-pushed the remove-metrics-and-core-data branch from 108588c to 781a83b Compare February 7, 2023 10:33
@iain-anderson iain-anderson marked this pull request as draft February 7, 2023 10:34
@iain-anderson iain-anderson force-pushed the remove-metrics-and-core-data branch from 781a83b to eafbf3d Compare February 7, 2023 11:13
BREAKING CHANGE: Removed the Device.UseMessageBus config, the code for
sending event via core-data REST client and the Clients.core-data dependency
(MessageBus is always enabled in 3.0 for sending events)
BREAKING CHANGE: v2 metrics endpoint is removed for all services

Signed-off-by: Iain Anderson <[email protected]>
@iain-anderson iain-anderson force-pushed the remove-metrics-and-core-data branch from eafbf3d to 2707c1b Compare February 8, 2023 13:49
@iain-anderson iain-anderson marked this pull request as ready for review February 8, 2023 15:50
Copy link
Member

@SteveOss SteveOss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iain-anderson iain-anderson merged commit 718d9d9 into edgexfoundry:main Feb 20, 2023
@iain-anderson iain-anderson deleted the remove-metrics-and-core-data branch February 20, 2023 16:37
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

Successfully merging this pull request may close these issues.

[C] Remove old metrics collection and REST /metrics endpoint
3 participants