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

Daprd Metrics Breaking Change #7295

Closed
Tracked by #7410
JoshVanL opened this issue Dec 12, 2023 · 7 comments · Fixed by #7429
Closed
Tracked by #7410

Daprd Metrics Breaking Change #7295

JoshVanL opened this issue Dec 12, 2023 · 7 comments · Fixed by #7429
Assignees
Labels
kind/bug Something isn't working P0 release-blocker
Milestone

Comments

@JoshVanL
Copy link
Contributor

With #6919 merged, Dapr has a breaking change to the metrics which are exposed. This can be seen with the failing version skew metrics test https://github.com/dapr/dapr/actions/runs/7169171492/job/19518959642.

As a project, we need to make the decision as to whether we accept this as a breaking change, or introduce a flag to revert the previous behaviour.

@JoshVanL JoshVanL added kind/bug Something isn't working P0 labels Dec 12, 2023
@JoshVanL JoshVanL added this to the v1.13 milestone Dec 12, 2023
@ItalyPaleAle
Copy link
Contributor

ItalyPaleAle commented Dec 12, 2023

The issue isn't #6919, it's totally unrelated.

The issue is #6945 which removed the deprecated RenameReminder test. This is expected and the test itself needs to change:

image

This is now failing because the API endpoint doesn't exist anymore. Dapr considers that call to be service invocation, but there's no app ID in the request so it doesn't know what to invoke.

@ItalyPaleAle ItalyPaleAle changed the title Daprd Metrics Breaking Change Version skew test fails due to reoved RenameReminder method Dec 12, 2023
@mukundansundar mukundansundar changed the title Version skew test fails due to reoved RenameReminder method Daprd Metrics Breaking Change Dec 13, 2023
@mukundansundar
Copy link
Contributor

The issue isn't #6919, it's totally unrelated.

The issue is #6945 which removed the deprecated RenameReminder test. This is expected and the test itself needs to change:

image

This is now failing because the API endpoint doesn't exist anymore. Dapr considers that call to be service invocation, but there's no app ID in the request so it doesn't know what to invoke.

In this test http_metrics also fails and that is the main point of this issue. For tackling the rename reminder removal, there is a separate issue.

@ItalyPaleAle
Copy link
Contributor

Got it. In any case, the feature flag is going to be added but the test needs to change regardless as the new behavior will be the default

@ItalyPaleAle ItalyPaleAle self-assigned this Dec 21, 2023
@rabollin rabollin removed their assignment Dec 21, 2023
@filintod
Copy link
Contributor

filintod commented Jan 19, 2024

it would be good to have a flag to keep the old metrics behavior. as a DevOp on call relying on metrics/labels for alerts I would not be very happy when these have changed under my feet without a way out

@yaron2
Copy link
Member

yaron2 commented Jan 19, 2024

Maybe it's best we default to the old behavior and introduce a config option of lowCardinality=true/false

@artursouza
Copy link
Member

Does this PR also re-introduces the regex rewrite we had? I remember people using that to keep the metrics URLs without PII information.

@ItalyPaleAle
Copy link
Contributor

ItalyPaleAle commented Jan 26, 2024

Were those the only concerns that forced the creation of this PR?

  • Regex rewrite has always been available. Of course the regex themselves are different with the old and new formats.
  • The new format by default does not emit PII

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working P0 release-blocker
Projects
Development

Successfully merging a pull request may close this issue.

7 participants