Documentation ¶
Index ¶
- func CreateDateMap(updatedAt string, filter model.TimeFrequency, ...) error
- func MapMetricsToDashboard(dashboardQueryMap []*model.QueryMapForPanelGroup, ...) *model.DashboardPromResponse
- func PatchChaosEventWithVerdict(annotations []*model.AnnotationsPromResponse, ...) []*model.AnnotationsPromResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDateMap ¶
func CreateDateMap(updatedAt string, filter model.TimeFrequency, statsMap map[string]model.WorkflowStatsResponse) error
func MapMetricsToDashboard ¶
func MapMetricsToDashboard(dashboardQueryMap []*model.QueryMapForPanelGroup, newPromResponse *model.PrometheusDataResponse, queryResponseMap map[string]*model.MetricsPromResponse) *model.DashboardPromResponse
MapMetricsToDashboard takes dashboard query map, prometheus response and query response map for mapping metrics to the panels for a dashboard
func PatchChaosEventWithVerdict ¶
func PatchChaosEventWithVerdict(annotations []*model.AnnotationsPromResponse, verdictResponse *model.AnnotationsPromResponse, promInput *model.PrometheusDataRequest, AnalyticsCache *cache.Cache) []*model.AnnotationsPromResponse
PatchChaosEventWithVerdict takes annotations with chaos events, chaos verdict prometheus response, prometheus queries and cache object to patch and update chaos events with chaos verdict
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.