package
0.0.174
Repository: https://github.com/googlecloudplatform/testgrid.git
Documentation: pkg.go.dev

# Packages

Package analyzers represents ways to analyze healthiness and flakiness of tests.
No description provided by the author

# Functions

CalculateHealthiness extracts the test run data from each row (which represents a test) of the Grid and then analyzes it with an implementation of flakinessAnalyzer, which has implementations in the subdir naive and can be injected as needed.
CalculateTrend populates the ChangeFromLastInterval fields of each TestInfo by comparing the current flakiness to the flakiness calculated for the last interval.
CreateMetrics creates all the metrics that the Summarizer will use This should be called once.
FixGCS listens for GCS changes to test groups and schedules another update of its dashboards ~immediately.
FixPersistent persists the updater queue using queue.FixPersistent.
ReadSummary provides the dashboard summary as defined in summary.proto.
SummaryPath generates a summary GCS path for a given dashboard.
Update summary protos by reading the state protos defined in the config.

# Constants

DefaultInterval is the default number of days of analysis.

# Structs

FeatureFlags aggregates the knobs to enable/disable certain features.
Metrics holds metrics relevant to the Updater.
UpdateOptions aggregates the Update function parameter into a single structure.

# Type aliases

Fixer should adjust the dashboard queue until the context expires.