Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

feat: add metric for all mobile bridge "unregistered" user drops #1423

Merged
merged 3 commits into from
Jul 29, 2020

Conversation

jrconlin
Copy link
Member

  • normalized metric name and tags

Closes #1421

Description

  • made the APNS user disconnect metric more generic across all mobile platforms
  • normalized some tag information

Testing

Tests included.

Issue(s)

Closes #1421.

@jrconlin jrconlin requested a review from a team July 28, 2020 01:10
autopush/web/base.py Outdated Show resolved Hide resolved
@jrconlin jrconlin merged commit 457f747 into master Jul 29, 2020
@AzureMarker AzureMarker deleted the feat/1421 branch July 29, 2020 16:05
@@ -191,7 +191,7 @@ def _route(self, notification, uaid_data):
self.metrics.increment("notification.bridge.error",
tags=make_tags(
self._base_tags,
reason="connection_unavailable"))
reason="connection unavailable"))
Copy link
Member

Choose a reason for hiding this comment

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

FYI this denormalized the reason, it's an underscore everywhere else

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emit detailed metrics for new drop_user on bridge 404s
3 participants