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

Bugfix/5373 tm log inconsistency #6292

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

tcfdev
Copy link
Collaborator

@tcfdev tcfdev commented Oct 15, 2021

Closes: #5373

This is in response to a bug filed in reporting in Traffic Monitor.

The event log appeared to have duplicated messages for delivery services with slightly different information within the fields. This will address the issue by:

  • Removing the duplicate call adding event
  • Add const for ensure clarity in event message Type

Which Traffic Control components are affected by this PR?

  • Traffic Monitor

What is the best way to verify this PR?

Ensure go test ./... succeeds from the traffic_monitor project directory.
Ensure CIAB builds successfully. While running CIAB, perform a change resulting in a Delivery Service's availability. The Event will appear in the /publish/EventLog endpoint.

PR submission checklist

  • This PR has tests - There is no significant change to business logic, nor are there existing tests around this functionality.
  • This PR has documentation - None necessary
  • This PR has a CHANGELOG.md entry
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

@ocket8888 ocket8888 added bug something isn't working as intended Traffic Monitor related to Traffic Monitor labels Oct 19, 2021
Copy link
Member

@shamrickus shamrickus left a comment

Choose a reason for hiding this comment

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

LGTM

  • No duplicate messages for when caches are available.
  • DS type is consistent.

@shamrickus
Copy link
Member

Needs conflicts resolved.

Taylor Frey added 2 commits October 22, 2021 14:31
Clarify event message to account for all availability scenarios.

Minor formatting for readability.

Add const for consistency and clarity
@tcfdev tcfdev force-pushed the bugfix/5373_TM-Log-Inconsistency branch from 493e38e to eddfc09 Compare October 22, 2021 20:32
@shamrickus shamrickus merged commit 23408ab into apache:master Oct 22, 2021
@zrhoffman zrhoffman added this to the 6.0.1 milestone Nov 5, 2021
zrhoffman pushed a commit that referenced this pull request Nov 5, 2021
* Removed duplicate event message.

Clarify event message to account for all availability scenarios.

Minor formatting for readability.

Add const for consistency and clarity

* Add changelog entry

Co-authored-by: Taylor Frey <taylor_frey@comcast.com>
(cherry picked from commit 23408ab)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working as intended Traffic Monitor related to Traffic Monitor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Traffic Monitor logs not consistent
4 participants