Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Update metrics when completing a world state request with existing data #914

Merged

Conversation

ajsutton
Copy link
Contributor

PR description

When we dequeue a pending world state request and already have the data locally we skip sending a network request and just process the local data. Previously we missed updating the completed request counter which led to a weird effect where the pending requests metric went down but the completed requests were unchanged.

This fixes that so our metrics make more sense.

@ajsutton ajsutton merged commit c6e0fb0 into PegaSysEng:master Feb 19, 2019
@ajsutton ajsutton deleted the count-existing-data-as-completed-requests branch February 19, 2019 23:00
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Feb 20, 2019
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.

2 participants