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

feat: Support Website metrics in LogicMonitor [PC-14860] #593

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

dawidwisn
Copy link
Contributor

@dawidwisn dawidwisn commented Nov 20, 2024

Motivation

Support Website metrics in LogicMonitor

Summary

This PR extends LogicMonitor metric spec with new fields and a new value for queryType = website_metrics.
Depending on queryType, different fields are required. For queryType:

  • device_metrics - required fields: deviceDataSourceInstanceId, graphId and line
  • website_metrics - required fields: websiteId, checkpointId, graphName and line
    Changes are backward compatible.

Example:

logicMonitor:
    queryType: website_metrics
    line: MIN RTT
    websiteId: "1"
    checkpointId: "1044712023"
    graphName: "responseTime"

Release Notes

  • Support Website metrics in LogicMonitor

@n9-machine-user n9-machine-user added enhancement New feature or request go minor labels Nov 20, 2024
@dawidwisn dawidwisn marked this pull request as ready for review November 28, 2024 14:54
manifest/v1alpha/slo/metrics_logic_monitor.go Outdated Show resolved Hide resolved
manifest/v1alpha/slo/metrics_logic_monitor_test.go Outdated Show resolved Hide resolved
manifest/v1alpha/slo/metrics_logic_monitor_test.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants