@spinnaker/kayenta 0.0.0-main-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +9 -0
- package/.eslintrc.js +1 -0
- package/.huskyrc +5 -0
- package/.lintstagedrc.json +4 -0
- package/.prettierignore +4 -0
- package/.prettierrc.js +1 -0
- package/LICENSE.txt +203 -0
- package/README.md +81 -0
- package/__mocks__/styleMock.js +1 -0
- package/__mocks__/version.json +4 -0
- package/babel.config.js +3 -0
- package/build/dist/index-70b2ac83.js +2 -0
- package/build/dist/index-70b2ac83.js.map +1 -0
- package/build/dist/index.d.ts +3 -0
- package/build/dist/index.d.ts.map +1 -0
- package/build/dist/index.js +2 -0
- package/build/dist/index.js.map +1 -0
- package/build/dist/kayenta/actions/creators.d.ts +402 -0
- package/build/dist/kayenta/actions/creators.d.ts.map +1 -0
- package/build/dist/kayenta/actions/index.d.ts +97 -0
- package/build/dist/kayenta/actions/index.d.ts.map +1 -0
- package/build/dist/kayenta/canary.d.ts +16 -0
- package/build/dist/kayenta/canary.d.ts.map +1 -0
- package/build/dist/kayenta/canary.dataSource.bridge.d.ts +2 -0
- package/build/dist/kayenta/canary.dataSource.bridge.d.ts.map +1 -0
- package/build/dist/kayenta/canary.dataSource.stub.d.ts +9 -0
- package/build/dist/kayenta/canary.dataSource.stub.d.ts.map +1 -0
- package/build/dist/kayenta/canary.help.d.ts +2 -0
- package/build/dist/kayenta/canary.help.d.ts.map +1 -0
- package/build/dist/kayenta/canary.settings.d.ts +24 -0
- package/build/dist/kayenta/canary.settings.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScore.component.d.ts +2 -0
- package/build/dist/kayenta/components/canaryScore.component.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScore.d.ts +23 -0
- package/build/dist/kayenta/components/canaryScore.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScores.component.d.ts +2 -0
- package/build/dist/kayenta/components/canaryScores.component.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScores.d.ts +21 -0
- package/build/dist/kayenta/components/canaryScores.d.ts.map +1 -0
- package/build/dist/kayenta/components/loadStates.d.ts +15 -0
- package/build/dist/kayenta/components/loadStates.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryConfig.d.ts +56 -0
- package/build/dist/kayenta/domain/ICanaryConfig.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryConfigSummary.d.ts +8 -0
- package/build/dist/kayenta/domain/ICanaryConfigSummary.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryConfigUpdateResponse.d.ts +4 -0
- package/build/dist/kayenta/domain/ICanaryConfigUpdateResponse.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryExecutionStatusResult.d.ts +69 -0
- package/build/dist/kayenta/domain/ICanaryExecutionStatusResult.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResult.d.ts +48 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResult.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResultSummary.d.ts +6 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResultSummary.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryScoreThresholds.d.ts +5 -0
- package/build/dist/kayenta/domain/ICanaryScoreThresholds.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IJudge.d.ts +5 -0
- package/build/dist/kayenta/domain/IJudge.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IKayentaAccount.d.ts +14 -0
- package/build/dist/kayenta/domain/IKayentaAccount.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IKayentaStageConfig.d.ts +58 -0
- package/build/dist/kayenta/domain/IKayentaStageConfig.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IMetricSetPair.d.ts +27 -0
- package/build/dist/kayenta/domain/IMetricSetPair.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IMetricsServiceMetadata.d.ts +3 -0
- package/build/dist/kayenta/domain/IMetricsServiceMetadata.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ISetupCanaryStage.d.ts +11 -0
- package/build/dist/kayenta/domain/ISetupCanaryStage.d.ts.map +1 -0
- package/build/dist/kayenta/domain/MetricClassificationLabel.d.ts +8 -0
- package/build/dist/kayenta/domain/MetricClassificationLabel.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ScoreClassificationLabel.d.ts +8 -0
- package/build/dist/kayenta/domain/ScoreClassificationLabel.d.ts.map +1 -0
- package/build/dist/kayenta/domain/index.d.ts +16 -0
- package/build/dist/kayenta/domain/index.d.ts.map +1 -0
- package/build/dist/kayenta/edit/changeMetricGroupModal.d.ts +18 -0
- package/build/dist/kayenta/edit/changeMetricGroupModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetail.d.ts +2 -0
- package/build/dist/kayenta/edit/configDetail.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailActionButtons.d.ts +2 -0
- package/build/dist/kayenta/edit/configDetailActionButtons.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailHeader.d.ts +11 -0
- package/build/dist/kayenta/edit/configDetailHeader.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailLoadStates.d.ts +9 -0
- package/build/dist/kayenta/edit/configDetailLoadStates.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailLoader.d.ts +17 -0
- package/build/dist/kayenta/edit/configDetailLoader.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configJsonModal.d.ts +28 -0
- package/build/dist/kayenta/edit/configJsonModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configList.d.ts +12 -0
- package/build/dist/kayenta/edit/configList.d.ts.map +1 -0
- package/build/dist/kayenta/edit/copyConfigButton.d.ts +8 -0
- package/build/dist/kayenta/edit/copyConfigButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/createConfigButton.d.ts +8 -0
- package/build/dist/kayenta/edit/createConfigButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/deleteModal.d.ts +16 -0
- package/build/dist/kayenta/edit/deleteModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/edit.d.ts +2 -0
- package/build/dist/kayenta/edit/edit.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricEffectSizes.d.ts +16 -0
- package/build/dist/kayenta/edit/editMetricEffectSizes.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricModal.d.ts +25 -0
- package/build/dist/kayenta/edit/editMetricModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricValidation.d.ts +11 -0
- package/build/dist/kayenta/edit/editMetricValidation.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricValidation.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/editMetricValidation.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.d.ts +33 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.d.ts +29 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/footer.d.ts +6 -0
- package/build/dist/kayenta/edit/footer.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupName.d.ts +21 -0
- package/build/dist/kayenta/edit/groupName.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupTabs.d.ts +17 -0
- package/build/dist/kayenta/edit/groupTabs.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupWeight.d.ts +16 -0
- package/build/dist/kayenta/edit/groupWeight.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupWeights.d.ts +8 -0
- package/build/dist/kayenta/edit/groupWeights.d.ts.map +1 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.d.ts +14 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.d.ts.map +1 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/judgeSelect.d.ts +19 -0
- package/build/dist/kayenta/edit/judgeSelect.d.ts.map +1 -0
- package/build/dist/kayenta/edit/metricConfigurerDelegator.d.ts +9 -0
- package/build/dist/kayenta/edit/metricConfigurerDelegator.d.ts.map +1 -0
- package/build/dist/kayenta/edit/metricList.d.ts +23 -0
- package/build/dist/kayenta/edit/metricList.d.ts.map +1 -0
- package/build/dist/kayenta/edit/metricStoreSelector.d.ts +12 -0
- package/build/dist/kayenta/edit/metricStoreSelector.d.ts.map +1 -0
- package/build/dist/kayenta/edit/nameAndDescription.d.ts +14 -0
- package/build/dist/kayenta/edit/nameAndDescription.d.ts.map +1 -0
- package/build/dist/kayenta/edit/openConfigJsonModalButton.d.ts +8 -0
- package/build/dist/kayenta/edit/openConfigJsonModalButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/openDeleteModalButton.d.ts +11 -0
- package/build/dist/kayenta/edit/openDeleteModalButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/ownedBy.d.ts +7 -0
- package/build/dist/kayenta/edit/ownedBy.d.ts.map +1 -0
- package/build/dist/kayenta/edit/save.d.ts +2 -0
- package/build/dist/kayenta/edit/save.d.ts.map +1 -0
- package/build/dist/kayenta/edit/saveConfigButton.d.ts +14 -0
- package/build/dist/kayenta/edit/saveConfigButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/saveConfigError.d.ts +13 -0
- package/build/dist/kayenta/edit/saveConfigError.d.ts.map +1 -0
- package/build/dist/kayenta/edit/scoring.d.ts +8 -0
- package/build/dist/kayenta/edit/scoring.d.ts.map +1 -0
- package/build/dist/kayenta/edit/selectConfig.d.ts +2 -0
- package/build/dist/kayenta/edit/selectConfig.d.ts.map +1 -0
- package/build/dist/kayenta/edit/validationErrors.d.ts +8 -0
- package/build/dist/kayenta/edit/validationErrors.d.ts.map +1 -0
- package/build/dist/kayenta/index.d.ts +7 -0
- package/build/dist/kayenta/index.d.ts.map +1 -0
- package/build/dist/kayenta/layout/addNewButton.d.ts +8 -0
- package/build/dist/kayenta/layout/addNewButton.d.ts.map +1 -0
- package/build/dist/kayenta/layout/centeredDetail.d.ts +5 -0
- package/build/dist/kayenta/layout/centeredDetail.d.ts.map +1 -0
- package/build/dist/kayenta/layout/deleteButton.d.ts +6 -0
- package/build/dist/kayenta/layout/deleteButton.d.ts.map +1 -0
- package/build/dist/kayenta/layout/disableable.d.ts +37 -0
- package/build/dist/kayenta/layout/disableable.d.ts.map +1 -0
- package/build/dist/kayenta/layout/formList.d.ts +5 -0
- package/build/dist/kayenta/layout/formList.d.ts.map +1 -0
- package/build/dist/kayenta/layout/formRow.d.ts +12 -0
- package/build/dist/kayenta/layout/formRow.d.ts.map +1 -0
- package/build/dist/kayenta/layout/formattedDate.d.ts +5 -0
- package/build/dist/kayenta/layout/formattedDate.d.ts.map +1 -0
- package/build/dist/kayenta/layout/index.d.ts +3 -0
- package/build/dist/kayenta/layout/index.d.ts.map +1 -0
- package/build/dist/kayenta/layout/keyValueList.d.ts +29 -0
- package/build/dist/kayenta/layout/keyValueList.d.ts.map +1 -0
- package/build/dist/kayenta/layout/list.d.ts +21 -0
- package/build/dist/kayenta/layout/list.d.ts.map +1 -0
- package/build/dist/kayenta/layout/list.spec.d.ts +2 -0
- package/build/dist/kayenta/layout/list.spec.d.ts.map +1 -0
- package/build/dist/kayenta/layout/listDetail.d.ts +11 -0
- package/build/dist/kayenta/layout/listDetail.d.ts.map +1 -0
- package/build/dist/kayenta/layout/radioChoice.d.ts +9 -0
- package/build/dist/kayenta/layout/radioChoice.d.ts.map +1 -0
- package/build/dist/kayenta/layout/styleguide.d.ts +9 -0
- package/build/dist/kayenta/layout/styleguide.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/index.d.ts +6 -0
- package/build/dist/kayenta/layout/table/index.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/nativeTable.d.ts +14 -0
- package/build/dist/kayenta/layout/table/nativeTable.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/nativeTableHeader.d.ts +8 -0
- package/build/dist/kayenta/layout/table/nativeTableHeader.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/table.d.ts +14 -0
- package/build/dist/kayenta/layout/table/table.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/tableColumn.d.ts +8 -0
- package/build/dist/kayenta/layout/table/tableColumn.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/tableHeader.d.ts +7 -0
- package/build/dist/kayenta/layout/table/tableHeader.d.ts.map +1 -0
- package/build/dist/kayenta/layout/tabs.d.ts +14 -0
- package/build/dist/kayenta/layout/tabs.d.ts.map +1 -0
- package/build/dist/kayenta/layout/titledSection.d.ts +7 -0
- package/build/dist/kayenta/layout/titledSection.d.ts.map +1 -0
- package/build/dist/kayenta/layout/titledSubsection.d.ts +8 -0
- package/build/dist/kayenta/layout/titledSubsection.d.ts.map +1 -0
- package/build/dist/kayenta/manualAnalysis/ManualAnalysisModal.d.ts +47 -0
- package/build/dist/kayenta/manualAnalysis/ManualAnalysisModal.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/atlas/atlasMetricConfigurer.d.ts +29 -0
- package/build/dist/kayenta/metricStore/atlas/atlasMetricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/atlas/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/atlas/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.d.ts +5 -0
- package/build/dist/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/datadog/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/metricConfigurer.d.ts +15 -0
- package/build/dist/kayenta/metricStore/datadog/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.d.ts +29 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.spec.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.d.ts +5 -0
- package/build/dist/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/graphite/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/graphite/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/graphite/metricConfigurer.d.ts +13 -0
- package/build/dist/kayenta/metricStore/graphite/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/graphite/metricTypeSelector.d.ts +29 -0
- package/build/dist/kayenta/metricStore/graphite/metricTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/index.d.ts +9 -0
- package/build/dist/kayenta/metricStore/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/metricStoreConfig.service.d.ts +11 -0
- package/build/dist/kayenta/metricStore/metricStoreConfig.service.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.d.ts +5 -0
- package/build/dist/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/newrelic/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/newrelic/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/newrelic/metricConfigurer.d.ts +13 -0
- package/build/dist/kayenta/metricStore/newrelic/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.d.ts +13 -0
- package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.d.ts +5 -0
- package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/prometheus/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/metricConfigurer.d.ts +21 -0
- package/build/dist/kayenta/metricStore/prometheus/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.d.ts +31 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.spec.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.d.ts +10 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.spec.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.d.ts +10 -0
- package/build/dist/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/signalfx/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/signalfx/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/signalfx/metricConfigurer.d.ts +28 -0
- package/build/dist/kayenta/metricStore/signalfx/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.d.ts +9 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.d.ts +16 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/stackdriver/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricConfigurer.d.ts +16 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.d.ts +35 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.spec.d.ts.map +1 -0
- package/build/dist/kayenta/middleware/actionInterceptor.d.ts +3 -0
- package/build/dist/kayenta/middleware/actionInterceptor.d.ts.map +1 -0
- package/build/dist/kayenta/middleware/asyncDispatch.d.ts +3 -0
- package/build/dist/kayenta/middleware/asyncDispatch.d.ts.map +1 -0
- package/build/dist/kayenta/middleware/epics.d.ts +14 -0
- package/build/dist/kayenta/middleware/epics.d.ts.map +1 -0
- package/build/dist/kayenta/middleware/index.d.ts +4 -0
- package/build/dist/kayenta/middleware/index.d.ts.map +1 -0
- package/build/dist/kayenta/navigation/canary.states.d.ts +6 -0
- package/build/dist/kayenta/navigation/canary.states.d.ts.map +1 -0
- package/build/dist/kayenta/navigation/canary.states.stub.d.ts +4 -0
- package/build/dist/kayenta/navigation/canary.states.stub.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/app.d.ts +11 -0
- package/build/dist/kayenta/reducers/app.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/asyncRequest.d.ts +6 -0
- package/build/dist/kayenta/reducers/asyncRequest.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/data.d.ts +30 -0
- package/build/dist/kayenta/reducers/data.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/editingTemplate.d.ts +8 -0
- package/build/dist/kayenta/reducers/editingTemplate.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/group.d.ts +11 -0
- package/build/dist/kayenta/reducers/group.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/index.d.ts +13 -0
- package/build/dist/kayenta/reducers/index.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.d.ts +6 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/selectedConfig.d.ts +51 -0
- package/build/dist/kayenta/reducers/selectedConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/selectedConfig.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/selectedConfig.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/selectedRun.d.ts +20 -0
- package/build/dist/kayenta/reducers/selectedRun.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/signalFxMetricConfig.d.ts +22 -0
- package/build/dist/kayenta/reducers/signalFxMetricConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.d.ts +6 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/templates.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/templates.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/validators.d.ts +6 -0
- package/build/dist/kayenta/reducers/validators.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/allMetricResultsHeader.d.ts +10 -0
- package/build/dist/kayenta/report/detail/allMetricResultsHeader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/clickableHeader.d.ts +11 -0
- package/build/dist/kayenta/report/detail/clickableHeader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/colors.d.ts +5 -0
- package/build/dist/kayenta/report/detail/colors.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/detail.d.ts +10 -0
- package/build/dist/kayenta/report/detail/detail.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/detailLoader.d.ts +16 -0
- package/build/dist/kayenta/report/detail/detailLoader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/graph.d.ts +13 -0
- package/build/dist/kayenta/report/detail/graph/graph.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts +19 -0
- package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/boxplot.d.ts +19 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/boxplot.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartHeader.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartHeader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartLegend.d.ts +11 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartLegend.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/circleIcon.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/circleIcon.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/config.d.ts +18 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/config.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/customAxisTickLabel.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/customAxisTickLabel.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/differenceArea.d.ts +17 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/differenceArea.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/histogram.d.ts +19 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/histogram.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/index.d.ts +2 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/index.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/noValidDataSign.d.ts +4 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/noValidDataSign.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.d.ts +15 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/semiotic.service.d.ts +27 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/semiotic.service.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/semioticGraph.d.ts +8 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/semioticGraph.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/timeSeries.d.ts +31 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/timeSeries.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/tooltip.d.ts +13 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/tooltip.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/utils.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/utils.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graphTypeSelector.d.ts +13 -0
- package/build/dist/kayenta/report/detail/graphTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/groupScores.d.ts +18 -0
- package/build/dist/kayenta/report/detail/groupScores.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/header.d.ts +12 -0
- package/build/dist/kayenta/report/detail/header.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/headerArrow.d.ts +7 -0
- package/build/dist/kayenta/report/detail/headerArrow.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/loadStates.d.ts +9 -0
- package/build/dist/kayenta/report/detail/loadStates.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultActions.d.ts +12 -0
- package/build/dist/kayenta/report/detail/metricResultActions.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultClassification.d.ts +8 -0
- package/build/dist/kayenta/report/detail/metricResultClassification.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultDetail.d.ts +7 -0
- package/build/dist/kayenta/report/detail/metricResultDetail.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultDetailLayout.d.ts +3 -0
- package/build/dist/kayenta/report/detail/metricResultDetailLayout.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultDeviation.d.ts +7 -0
- package/build/dist/kayenta/report/detail/metricResultDeviation.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultStats.d.ts +15 -0
- package/build/dist/kayenta/report/detail/metricResultStats.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResults.d.ts +11 -0
- package/build/dist/kayenta/report/detail/metricResults.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultsClassificationFilters.d.ts +15 -0
- package/build/dist/kayenta/report/detail/metricResultsClassificationFilters.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultsColumns.d.ts +4 -0
- package/build/dist/kayenta/report/detail/metricResultsColumns.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultsList.d.ts +23 -0
- package/build/dist/kayenta/report/detail/metricResultsList.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricSetPairLoadStates.d.ts +10 -0
- package/build/dist/kayenta/report/detail/metricSetPairLoadStates.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/multipleResultsTable.d.ts +23 -0
- package/build/dist/kayenta/report/detail/multipleResultsTable.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportException.d.ts +10 -0
- package/build/dist/kayenta/report/detail/reportException.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportExplanation.d.ts +10 -0
- package/build/dist/kayenta/report/detail/reportExplanation.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportMetadata.d.ts +9 -0
- package/build/dist/kayenta/report/detail/reportMetadata.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportScores.d.ts +20 -0
- package/build/dist/kayenta/report/detail/reportScores.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/score.d.ts +9 -0
- package/build/dist/kayenta/report/detail/score.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/sourceLinks.d.ts +9 -0
- package/build/dist/kayenta/report/detail/sourceLinks.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/configLink.d.ts +14 -0
- package/build/dist/kayenta/report/list/configLink.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/loadStates.d.ts +9 -0
- package/build/dist/kayenta/report/list/loadStates.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/pipelineLink.d.ts +7 -0
- package/build/dist/kayenta/report/list/pipelineLink.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/reportLink.d.ts +16 -0
- package/build/dist/kayenta/report/list/reportLink.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/table.d.ts +14 -0
- package/build/dist/kayenta/report/list/table.d.ts.map +1 -0
- package/build/dist/kayenta/report/report.d.ts +3 -0
- package/build/dist/kayenta/report/report.d.ts.map +1 -0
- package/build/dist/kayenta/selectors/filterTemplatesSelectors.d.ts +21 -0
- package/build/dist/kayenta/selectors/filterTemplatesSelectors.d.ts.map +1 -0
- package/build/dist/kayenta/selectors/index.d.ts +25 -0
- package/build/dist/kayenta/selectors/index.d.ts.map +1 -0
- package/build/dist/kayenta/service/canaryConfig.service.d.ts +13 -0
- package/build/dist/kayenta/service/canaryConfig.service.d.ts.map +1 -0
- package/build/dist/kayenta/service/canaryRun.service.d.ts +7 -0
- package/build/dist/kayenta/service/canaryRun.service.d.ts.map +1 -0
- package/build/dist/kayenta/service/delegateFactory.d.ts +9 -0
- package/build/dist/kayenta/service/delegateFactory.d.ts.map +1 -0
- package/build/dist/kayenta/service/metricsServiceMetadata.service.d.ts +3 -0
- package/build/dist/kayenta/service/metricsServiceMetadata.service.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.d.ts +13 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.spec.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.spec.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/CanaryExecutionLabel.d.ts +6 -0
- package/build/dist/kayenta/stages/kayentaStage/CanaryExecutionLabel.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/analysisType.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/analysisType.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.d.ts +13 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/forAnalysisType.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/forAnalysisType.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.controller.d.ts +100 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.controller.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts +29 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts +12 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.d.ts +3 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/stageTypes.d.ts +6 -0
- package/build/dist/kayenta/stages/kayentaStage/stageTypes.d.ts.map +1 -0
- package/build/dist/kayenta/utils/duration.d.ts +12 -0
- package/build/dist/kayenta/utils/duration.d.ts.map +1 -0
- package/build/dist/kayenta/utils/duration.spec.d.ts +2 -0
- package/build/dist/kayenta/utils/duration.spec.d.ts.map +1 -0
- package/build/dist/lazy-1f6a42b8.js +2 -0
- package/build/dist/lazy-1f6a42b8.js.map +1 -0
- package/build/dist/lazy.d.ts +6 -0
- package/build/dist/lazy.d.ts.map +1 -0
- package/build/dist/semioticGraph-d687462f.js +2 -0
- package/build/dist/semioticGraph-d687462f.js.map +1 -0
- package/build/dist/stub.d.ts +15 -0
- package/build/dist/stub.d.ts.map +1 -0
- package/build.gradle +67 -0
- package/build_scripts/checkLicenses.js +79 -0
- package/gradle.properties +0 -0
- package/jest.config.js +204 -0
- package/jest.setup.js +5 -0
- package/package.json +166 -0
- package/rollup-plugin-angularjs-template-loader.js +82 -0
- package/rollup.config.js +30 -0
- package/src/index.ts +2 -0
- package/src/kayenta/actions/creators.ts +157 -0
- package/src/kayenta/actions/index.ts +96 -0
- package/src/kayenta/canary.dataSource.bridge.ts +53 -0
- package/src/kayenta/canary.dataSource.stub.ts +64 -0
- package/src/kayenta/canary.help.ts +132 -0
- package/src/kayenta/canary.less +168 -0
- package/src/kayenta/canary.settings.ts +26 -0
- package/src/kayenta/canary.tsx +67 -0
- package/src/kayenta/components/canaryScore.component.less +77 -0
- package/src/kayenta/components/canaryScore.component.ts +12 -0
- package/src/kayenta/components/canaryScore.tsx +63 -0
- package/src/kayenta/components/canaryScores.component.ts +20 -0
- package/src/kayenta/components/canaryScores.less +22 -0
- package/src/kayenta/components/canaryScores.tsx +163 -0
- package/src/kayenta/components/loadStates.tsx +52 -0
- package/src/kayenta/domain/ICanaryConfig.ts +57 -0
- package/src/kayenta/domain/ICanaryConfigSummary.ts +7 -0
- package/src/kayenta/domain/ICanaryConfigUpdateResponse.ts +3 -0
- package/src/kayenta/domain/ICanaryExecutionStatusResult.ts +72 -0
- package/src/kayenta/domain/ICanaryJudgeResult.ts +51 -0
- package/src/kayenta/domain/ICanaryJudgeResultSummary.ts +5 -0
- package/src/kayenta/domain/ICanaryScoreThresholds.ts +4 -0
- package/src/kayenta/domain/IJudge.ts +5 -0
- package/src/kayenta/domain/IKayentaAccount.ts +14 -0
- package/src/kayenta/domain/IKayentaStageConfig.ts +58 -0
- package/src/kayenta/domain/IMetricSetPair.ts +17 -0
- package/src/kayenta/domain/IMetricsServiceMetadata.ts +2 -0
- package/src/kayenta/domain/ISetupCanaryStage.ts +11 -0
- package/src/kayenta/domain/MetricClassificationLabel.ts +7 -0
- package/src/kayenta/domain/ScoreClassificationLabel.ts +7 -0
- package/src/kayenta/domain/index.ts +15 -0
- package/src/kayenta/edit/changeMetricGroupModal.tsx +107 -0
- package/src/kayenta/edit/configDetail.tsx +31 -0
- package/src/kayenta/edit/configDetailActionButtons.tsx +24 -0
- package/src/kayenta/edit/configDetailHeader.tsx +104 -0
- package/src/kayenta/edit/configDetailLoadStates.tsx +36 -0
- package/src/kayenta/edit/configDetailLoader.tsx +60 -0
- package/src/kayenta/edit/configJson.less +42 -0
- package/src/kayenta/edit/configJsonModal.tsx +158 -0
- package/src/kayenta/edit/configList.less +7 -0
- package/src/kayenta/edit/configList.tsx +57 -0
- package/src/kayenta/edit/copyConfigButton.tsx +34 -0
- package/src/kayenta/edit/createConfigButton.tsx +34 -0
- package/src/kayenta/edit/deleteModal.tsx +87 -0
- package/src/kayenta/edit/edit.tsx +24 -0
- package/src/kayenta/edit/editMetricEffectSizes.tsx +186 -0
- package/src/kayenta/edit/editMetricModal.less +9 -0
- package/src/kayenta/edit/editMetricModal.tsx +245 -0
- package/src/kayenta/edit/editMetricValidation.spec.ts +63 -0
- package/src/kayenta/edit/editMetricValidation.ts +50 -0
- package/src/kayenta/edit/filterTemplateSelector.less +15 -0
- package/src/kayenta/edit/filterTemplateSelector.spec.tsx +106 -0
- package/src/kayenta/edit/filterTemplateSelector.tsx +194 -0
- package/src/kayenta/edit/filterTemplatesValidation.spec.ts +108 -0
- package/src/kayenta/edit/filterTemplatesValidation.ts +95 -0
- package/src/kayenta/edit/footer.less +30 -0
- package/src/kayenta/edit/footer.tsx +12 -0
- package/src/kayenta/edit/groupName.tsx +80 -0
- package/src/kayenta/edit/groupTabs.tsx +106 -0
- package/src/kayenta/edit/groupWeight.tsx +80 -0
- package/src/kayenta/edit/groupWeights.tsx +38 -0
- package/src/kayenta/edit/inlineTemplateEditor.spec.tsx +42 -0
- package/src/kayenta/edit/inlineTemplateEditor.tsx +61 -0
- package/src/kayenta/edit/judgeSelect.tsx +82 -0
- package/src/kayenta/edit/metricConfigurerDelegator.tsx +30 -0
- package/src/kayenta/edit/metricList.less +21 -0
- package/src/kayenta/edit/metricList.tsx +215 -0
- package/src/kayenta/edit/metricStoreSelector.tsx +66 -0
- package/src/kayenta/edit/nameAndDescription.tsx +90 -0
- package/src/kayenta/edit/openConfigJsonModalButton.tsx +33 -0
- package/src/kayenta/edit/openDeleteModalButton.tsx +50 -0
- package/src/kayenta/edit/ownedBy.tsx +34 -0
- package/src/kayenta/edit/save.tsx +19 -0
- package/src/kayenta/edit/saveConfigButton.tsx +65 -0
- package/src/kayenta/edit/saveConfigError.tsx +59 -0
- package/src/kayenta/edit/scoring.tsx +35 -0
- package/src/kayenta/edit/selectConfig.tsx +10 -0
- package/src/kayenta/edit/validationErrors.tsx +39 -0
- package/src/kayenta/index.ts +6 -0
- package/src/kayenta/layout/addNewButton.tsx +20 -0
- package/src/kayenta/layout/centeredDetail.tsx +13 -0
- package/src/kayenta/layout/deleteButton.tsx +11 -0
- package/src/kayenta/layout/disableable.tsx +87 -0
- package/src/kayenta/layout/formList.tsx +26 -0
- package/src/kayenta/layout/formRow.tsx +36 -0
- package/src/kayenta/layout/formattedDate.tsx +14 -0
- package/src/kayenta/layout/index.ts +2 -0
- package/src/kayenta/layout/keyValueList.less +20 -0
- package/src/kayenta/layout/keyValueList.tsx +114 -0
- package/src/kayenta/layout/list.less +9 -0
- package/src/kayenta/layout/list.spec.tsx +83 -0
- package/src/kayenta/layout/list.tsx +73 -0
- package/src/kayenta/layout/listDetail.tsx +33 -0
- package/src/kayenta/layout/radioChoice.tsx +29 -0
- package/src/kayenta/layout/styleguide.tsx +16 -0
- package/src/kayenta/layout/table/index.ts +5 -0
- package/src/kayenta/layout/table/nativeTable.tsx +51 -0
- package/src/kayenta/layout/table/nativeTableHeader.tsx +26 -0
- package/src/kayenta/layout/table/table.tsx +56 -0
- package/src/kayenta/layout/table/tableColumn.ts +7 -0
- package/src/kayenta/layout/table/tableHeader.tsx +23 -0
- package/src/kayenta/layout/tabs.tsx +26 -0
- package/src/kayenta/layout/titledSection.less +16 -0
- package/src/kayenta/layout/titledSection.tsx +20 -0
- package/src/kayenta/layout/titledSubsection.less +11 -0
- package/src/kayenta/layout/titledSubsection.tsx +22 -0
- package/src/kayenta/manualAnalysis/ManualAnalysisModal.tsx +716 -0
- package/src/kayenta/metricStore/atlas/atlasMetricConfigurer.tsx +130 -0
- package/src/kayenta/metricStore/atlas/index.ts +8 -0
- package/src/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.ts +5 -0
- package/src/kayenta/metricStore/datadog/index.ts +8 -0
- package/src/kayenta/metricStore/datadog/metricConfigurer.tsx +90 -0
- package/src/kayenta/metricStore/datadog/metricTypeSelector.spec.tsx +59 -0
- package/src/kayenta/metricStore/datadog/metricTypeSelector.tsx +73 -0
- package/src/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.ts +5 -0
- package/src/kayenta/metricStore/graphite/index.ts +8 -0
- package/src/kayenta/metricStore/graphite/metricConfigurer.tsx +54 -0
- package/src/kayenta/metricStore/graphite/metricTypeSelector.tsx +80 -0
- package/src/kayenta/metricStore/graphite/typeahead.less +3 -0
- package/src/kayenta/metricStore/index.ts +8 -0
- package/src/kayenta/metricStore/metricStoreConfig.service.ts +12 -0
- package/src/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.ts +5 -0
- package/src/kayenta/metricStore/newrelic/index.ts +8 -0
- package/src/kayenta/metricStore/newrelic/metricConfigurer.tsx +58 -0
- package/src/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.ts +14 -0
- package/src/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.ts +5 -0
- package/src/kayenta/metricStore/prometheus/index.ts +12 -0
- package/src/kayenta/metricStore/prometheus/metricConfigurer.tsx +157 -0
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.less +5 -0
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.spec.tsx +62 -0
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.tsx +144 -0
- package/src/kayenta/metricStore/prometheus/queryTypeSelectors.spec.ts +61 -0
- package/src/kayenta/metricStore/prometheus/queryTypeSelectors.ts +38 -0
- package/src/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.ts +7 -0
- package/src/kayenta/metricStore/signalfx/index.ts +8 -0
- package/src/kayenta/metricStore/signalfx/metricConfigurer.less +10 -0
- package/src/kayenta/metricStore/signalfx/metricConfigurer.tsx +187 -0
- package/src/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.ts +9 -0
- package/src/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.ts +17 -0
- package/src/kayenta/metricStore/stackdriver/index.ts +12 -0
- package/src/kayenta/metricStore/stackdriver/metricConfigurer.tsx +144 -0
- package/src/kayenta/metricStore/stackdriver/metricTypeSelector.spec.tsx +92 -0
- package/src/kayenta/metricStore/stackdriver/metricTypeSelector.tsx +113 -0
- package/src/kayenta/middleware/actionInterceptor.ts +29 -0
- package/src/kayenta/middleware/asyncDispatch.ts +37 -0
- package/src/kayenta/middleware/epics.ts +211 -0
- package/src/kayenta/middleware/index.ts +3 -0
- package/src/kayenta/navigation/canary.states.stub.ts +28 -0
- package/src/kayenta/navigation/canary.states.ts +182 -0
- package/src/kayenta/reducers/app.ts +56 -0
- package/src/kayenta/reducers/asyncRequest.ts +5 -0
- package/src/kayenta/reducers/data.ts +169 -0
- package/src/kayenta/reducers/editingTemplate.ts +54 -0
- package/src/kayenta/reducers/group.ts +82 -0
- package/src/kayenta/reducers/index.ts +245 -0
- package/src/kayenta/reducers/prometheusMetricConfig.spec.ts +33 -0
- package/src/kayenta/reducers/prometheusMetricConfig.ts +56 -0
- package/src/kayenta/reducers/selectedConfig.spec.ts +190 -0
- package/src/kayenta/reducers/selectedConfig.ts +549 -0
- package/src/kayenta/reducers/selectedRun.ts +101 -0
- package/src/kayenta/reducers/signalFxMetricConfig.ts +36 -0
- package/src/kayenta/reducers/stackdriverMetricConfig.spec.ts +33 -0
- package/src/kayenta/reducers/stackdriverMetricConfig.ts +41 -0
- package/src/kayenta/reducers/templates.spec.ts +192 -0
- package/src/kayenta/reducers/validators.ts +118 -0
- package/src/kayenta/report/detail/allMetricResultsHeader.tsx +32 -0
- package/src/kayenta/report/detail/clickableHeader.tsx +21 -0
- package/src/kayenta/report/detail/colors.ts +46 -0
- package/src/kayenta/report/detail/detail.less +16 -0
- package/src/kayenta/report/detail/detail.tsx +48 -0
- package/src/kayenta/report/detail/detailLoader.tsx +55 -0
- package/src/kayenta/report/detail/graph/graph.tsx +37 -0
- package/src/kayenta/report/detail/graph/metricSetPairGraph.service.ts +35 -0
- package/src/kayenta/report/detail/graph/semiotic/boxplot.less +45 -0
- package/src/kayenta/report/detail/graph/semiotic/boxplot.tsx +283 -0
- package/src/kayenta/report/detail/graph/semiotic/chartHeader.tsx +19 -0
- package/src/kayenta/report/detail/graph/semiotic/chartLegend.less +26 -0
- package/src/kayenta/report/detail/graph/semiotic/chartLegend.tsx +42 -0
- package/src/kayenta/report/detail/graph/semiotic/circleIcon.tsx +16 -0
- package/src/kayenta/report/detail/graph/semiotic/config.less +5 -0
- package/src/kayenta/report/detail/graph/semiotic/config.ts +38 -0
- package/src/kayenta/report/detail/graph/semiotic/customAxisTickLabel.tsx +17 -0
- package/src/kayenta/report/detail/graph/semiotic/declarations/labella.d.ts +16 -0
- package/src/kayenta/report/detail/graph/semiotic/declarations/react-container-dimensions.d.ts +3 -0
- package/src/kayenta/report/detail/graph/semiotic/declarations/semiotic.d.ts +160 -0
- package/src/kayenta/report/detail/graph/semiotic/differenceArea.less +17 -0
- package/src/kayenta/report/detail/graph/semiotic/differenceArea.tsx +186 -0
- package/src/kayenta/report/detail/graph/semiotic/histogram.less +22 -0
- package/src/kayenta/report/detail/graph/semiotic/histogram.tsx +251 -0
- package/src/kayenta/report/detail/graph/semiotic/index.tsx +19 -0
- package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.less +5 -0
- package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.tsx +10 -0
- package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.less +6 -0
- package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.tsx +58 -0
- package/src/kayenta/report/detail/graph/semiotic/semiotic.service.ts +32 -0
- package/src/kayenta/report/detail/graph/semiotic/semioticGraph.less +53 -0
- package/src/kayenta/report/detail/graph/semiotic/semioticGraph.tsx +49 -0
- package/src/kayenta/report/detail/graph/semiotic/timeSeries.less +42 -0
- package/src/kayenta/report/detail/graph/semiotic/timeSeries.tsx +473 -0
- package/src/kayenta/report/detail/graph/semiotic/tooltip.tsx +55 -0
- package/src/kayenta/report/detail/graph/semiotic/utils.ts +90 -0
- package/src/kayenta/report/detail/graphTypeSelector.less +4 -0
- package/src/kayenta/report/detail/graphTypeSelector.tsx +50 -0
- package/src/kayenta/report/detail/groupScores.tsx +68 -0
- package/src/kayenta/report/detail/header.less +70 -0
- package/src/kayenta/report/detail/header.tsx +39 -0
- package/src/kayenta/report/detail/headerArrow.tsx +13 -0
- package/src/kayenta/report/detail/loadStates.tsx +31 -0
- package/src/kayenta/report/detail/metricResultActions.less +29 -0
- package/src/kayenta/report/detail/metricResultActions.tsx +87 -0
- package/src/kayenta/report/detail/metricResultClassification.tsx +22 -0
- package/src/kayenta/report/detail/metricResultDetail.tsx +20 -0
- package/src/kayenta/report/detail/metricResultDetailLayout.tsx +19 -0
- package/src/kayenta/report/detail/metricResultDeviation.tsx +25 -0
- package/src/kayenta/report/detail/metricResultStats.less +9 -0
- package/src/kayenta/report/detail/metricResultStats.tsx +120 -0
- package/src/kayenta/report/detail/metricResults.less +12 -0
- package/src/kayenta/report/detail/metricResults.tsx +52 -0
- package/src/kayenta/report/detail/metricResultsClassificationFilters.tsx +65 -0
- package/src/kayenta/report/detail/metricResultsColumns.tsx +27 -0
- package/src/kayenta/report/detail/metricResultsList.less +44 -0
- package/src/kayenta/report/detail/metricResultsList.tsx +120 -0
- package/src/kayenta/report/detail/metricSetPairLoadStates.tsx +22 -0
- package/src/kayenta/report/detail/multipleResultsTable.tsx +81 -0
- package/src/kayenta/report/detail/reportException.tsx +57 -0
- package/src/kayenta/report/detail/reportExplanation.less +12 -0
- package/src/kayenta/report/detail/reportExplanation.tsx +32 -0
- package/src/kayenta/report/detail/reportMetadata.tsx +167 -0
- package/src/kayenta/report/detail/reportScores.less +47 -0
- package/src/kayenta/report/detail/reportScores.tsx +80 -0
- package/src/kayenta/report/detail/score.tsx +33 -0
- package/src/kayenta/report/detail/sourceLinks.tsx +69 -0
- package/src/kayenta/report/list/configLink.tsx +32 -0
- package/src/kayenta/report/list/executionList.less +7 -0
- package/src/kayenta/report/list/loadStates.tsx +32 -0
- package/src/kayenta/report/list/pipelineLink.tsx +15 -0
- package/src/kayenta/report/list/reportLink.tsx +33 -0
- package/src/kayenta/report/list/table.tsx +309 -0
- package/src/kayenta/report/report.tsx +11 -0
- package/src/kayenta/selectors/filterTemplatesSelectors.ts +87 -0
- package/src/kayenta/selectors/index.ts +62 -0
- package/src/kayenta/service/canaryConfig.service.ts +122 -0
- package/src/kayenta/service/canaryRun.service.ts +60 -0
- package/src/kayenta/service/delegateFactory.ts +24 -0
- package/src/kayenta/service/metricsServiceMetadata.service.ts +9 -0
- package/src/kayenta/stages/kayentaStage/AnalysisType.spec.tsx +47 -0
- package/src/kayenta/stages/kayentaStage/AnalysisType.tsx +49 -0
- package/src/kayenta/stages/kayentaStage/CanaryExecutionLabel.tsx +26 -0
- package/src/kayenta/stages/kayentaStage/analysisType.component.ts +12 -0
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.component.ts +12 -0
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.less +5 -0
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.tsx +136 -0
- package/src/kayenta/stages/kayentaStage/forAnalysisType.component.ts +45 -0
- package/src/kayenta/stages/kayentaStage/kayentaStage.controller.ts +789 -0
- package/src/kayenta/stages/kayentaStage/kayentaStage.html +528 -0
- package/src/kayenta/stages/kayentaStage/kayentaStage.less +5 -0
- package/src/kayenta/stages/kayentaStage/kayentaStage.transformer.ts +179 -0
- package/src/kayenta/stages/kayentaStage/kayentaStage.ts +221 -0
- package/src/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.ts +21 -0
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.ts +88 -0
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.html +114 -0
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.less +6 -0
- package/src/kayenta/stages/kayentaStage/stageTypes.ts +5 -0
- package/src/kayenta/utils/duration.spec.ts +69 -0
- package/src/kayenta/utils/duration.ts +48 -0
- package/src/lazy.ts +29 -0
- package/src/stub.ts +60 -0
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import classNames from 'classnames';
|
|
2
|
+
import * as Creators from 'kayenta/actions/creators';
|
|
3
|
+
import { ICanaryJudgeGroupScore, ICanaryJudgeScore, ICanaryScoreThresholds } from 'kayenta/domain';
|
|
4
|
+
import { ICanaryState } from 'kayenta/reducers';
|
|
5
|
+
import { judgeResultSelector, serializedGroupWeightsSelector } from 'kayenta/selectors';
|
|
6
|
+
import { sortBy } from 'lodash';
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { connect, Dispatch } from 'react-redux';
|
|
9
|
+
|
|
10
|
+
import AllMetricResultsHeader from './allMetricResultsHeader';
|
|
11
|
+
import GroupScores from './groupScores';
|
|
12
|
+
|
|
13
|
+
import './reportScores.less';
|
|
14
|
+
|
|
15
|
+
interface IReportScoresStateProps {
|
|
16
|
+
groups: ICanaryJudgeGroupScore[];
|
|
17
|
+
score: ICanaryJudgeScore;
|
|
18
|
+
scoreThresholds: ICanaryScoreThresholds;
|
|
19
|
+
selectedGroup: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface IReportScoresDispatchProps {
|
|
23
|
+
clearSelectedGroup: () => void;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface IReportScoreParentProps {
|
|
27
|
+
isExpanded: boolean;
|
|
28
|
+
toggleHeader: () => void;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
* Layout for the report scores.
|
|
33
|
+
* */
|
|
34
|
+
const ReportScores = ({
|
|
35
|
+
groups,
|
|
36
|
+
isExpanded,
|
|
37
|
+
selectedGroup,
|
|
38
|
+
clearSelectedGroup,
|
|
39
|
+
score,
|
|
40
|
+
scoreThresholds,
|
|
41
|
+
toggleHeader,
|
|
42
|
+
}: IReportScoresStateProps & IReportScoresDispatchProps & IReportScoreParentProps) => {
|
|
43
|
+
const chevronStyle = {
|
|
44
|
+
transform: isExpanded ? 'rotate(90deg)' : 'rotate(0deg)',
|
|
45
|
+
transition: 'all ease 0.15s',
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
return (
|
|
49
|
+
<section className="horizontal report-scores">
|
|
50
|
+
<AllMetricResultsHeader
|
|
51
|
+
onClick={clearSelectedGroup}
|
|
52
|
+
score={score}
|
|
53
|
+
scoreThresholds={scoreThresholds}
|
|
54
|
+
className={classNames('flex-1', 'report-score', { active: !selectedGroup })}
|
|
55
|
+
/>
|
|
56
|
+
<GroupScores groups={groups} className="flex-12" />
|
|
57
|
+
<div className="kayenta-overview-toggle horizontal middle" onClick={() => toggleHeader()}>
|
|
58
|
+
{isExpanded ? <p>hide details</p> : <p>show details</p>}
|
|
59
|
+
<span className="glyphicon glyphicon-chevron-right" style={chevronStyle} />
|
|
60
|
+
</div>
|
|
61
|
+
</section>
|
|
62
|
+
);
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
const mapStateToProps = (state: ICanaryState): IReportScoresStateProps => ({
|
|
66
|
+
groups: sortBy(
|
|
67
|
+
judgeResultSelector(state).groupScores,
|
|
68
|
+
// Sort by group weight, then by name.
|
|
69
|
+
[(group: ICanaryJudgeGroupScore) => -serializedGroupWeightsSelector(state)[group.name], 'name'],
|
|
70
|
+
),
|
|
71
|
+
score: judgeResultSelector(state).score,
|
|
72
|
+
scoreThresholds: state.selectedRun.run.canaryExecutionRequest.thresholds,
|
|
73
|
+
selectedGroup: state.selectedRun.selectedGroup,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
const mapDispatchToProps = (dispatch: Dispatch<ICanaryState>): IReportScoresDispatchProps => ({
|
|
77
|
+
clearSelectedGroup: () => dispatch(Creators.selectReportMetricGroup({ group: null })),
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
export default connect(mapStateToProps, mapDispatchToProps)(ReportScores);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CanaryScore } from 'kayenta/components/canaryScore';
|
|
2
|
+
import { ICanaryJudgeScore } from 'kayenta/domain/ICanaryJudgeResult';
|
|
3
|
+
import { ScoreClassificationLabel } from 'kayenta/domain/ScoreClassificationLabel';
|
|
4
|
+
import { round } from 'lodash';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
|
|
7
|
+
export interface ICanaryJudgeScoreProps {
|
|
8
|
+
score: ICanaryJudgeScore;
|
|
9
|
+
showClassification?: boolean;
|
|
10
|
+
inverse?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// TODO(dpeach): don't use ACA statuses in the CanaryScore component.
|
|
14
|
+
const mapKayentaToACA = (score: ICanaryJudgeScore): { health: string; result: string } => {
|
|
15
|
+
if (score.classification === ScoreClassificationLabel.Pass) {
|
|
16
|
+
return { health: null, result: 'success' };
|
|
17
|
+
} else if (score.classification === ScoreClassificationLabel.Fail) {
|
|
18
|
+
return { health: 'unhealthy', result: null };
|
|
19
|
+
} else {
|
|
20
|
+
return { health: null, result: null };
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default ({ score, showClassification, inverse }: ICanaryJudgeScoreProps) => (
|
|
25
|
+
<CanaryScore
|
|
26
|
+
className="score-report"
|
|
27
|
+
score={round(score.score, 2)}
|
|
28
|
+
result={mapKayentaToACA(score).result}
|
|
29
|
+
health={mapKayentaToACA(score).health}
|
|
30
|
+
classification={showClassification ? score.classification : null}
|
|
31
|
+
inverse={inverse}
|
|
32
|
+
/>
|
|
33
|
+
);
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { CanarySettings } from 'kayenta/canary.settings';
|
|
2
|
+
import { ICanaryExecutionStatusResult } from 'kayenta/domain';
|
|
3
|
+
import { ICanaryState } from 'kayenta/reducers';
|
|
4
|
+
import { runSelector, serializedCanaryConfigSelector } from 'kayenta/selectors';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { connect } from 'react-redux';
|
|
7
|
+
|
|
8
|
+
import { SETTINGS } from '@spinnaker/core';
|
|
9
|
+
|
|
10
|
+
interface ISourceJsonStateProps {
|
|
11
|
+
reportUrl: string;
|
|
12
|
+
metricListUrl: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const SourceLinks = ({ reportUrl, metricListUrl }: ISourceJsonStateProps) => {
|
|
16
|
+
return (
|
|
17
|
+
<ul className="list-unstyled small">
|
|
18
|
+
<li>
|
|
19
|
+
<a target="_blank" href={reportUrl}>
|
|
20
|
+
Report
|
|
21
|
+
</a>
|
|
22
|
+
</li>
|
|
23
|
+
{metricListUrl && (
|
|
24
|
+
<li>
|
|
25
|
+
<p>
|
|
26
|
+
<a target="_blank" href={metricListUrl}>
|
|
27
|
+
Metrics
|
|
28
|
+
</a>
|
|
29
|
+
</p>
|
|
30
|
+
</li>
|
|
31
|
+
)}
|
|
32
|
+
</ul>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const resolveReportUrl = (state: ICanaryState): string => {
|
|
37
|
+
const canaryConfigId = serializedCanaryConfigSelector(state).id;
|
|
38
|
+
const result: ICanaryExecutionStatusResult = runSelector(state);
|
|
39
|
+
const canaryRunId = result.id;
|
|
40
|
+
let url = `${SETTINGS.gateUrl}/v2/canaries/canary/${canaryConfigId}/${canaryRunId}`;
|
|
41
|
+
const storageAccountName = result.storageAccountName || CanarySettings.storageAccountName;
|
|
42
|
+
if (storageAccountName) {
|
|
43
|
+
url += `?storageAccountName=${storageAccountName}`;
|
|
44
|
+
}
|
|
45
|
+
return url;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const resolveMetricListUrl = (state: ICanaryState): string => {
|
|
49
|
+
const status = runSelector(state);
|
|
50
|
+
const { metricSetPairListId } = status;
|
|
51
|
+
if (!metricSetPairListId) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
let url = `${SETTINGS.gateUrl}/v2/canaries/metricSetPairList/${metricSetPairListId}`;
|
|
55
|
+
const storageAccountName = status.storageAccountName || CanarySettings.storageAccountName;
|
|
56
|
+
if (storageAccountName) {
|
|
57
|
+
url += `?storageAccountName=${storageAccountName}`;
|
|
58
|
+
}
|
|
59
|
+
return url;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const mapStateToProps = (state: ICanaryState): ISourceJsonStateProps => {
|
|
63
|
+
return {
|
|
64
|
+
reportUrl: resolveReportUrl(state),
|
|
65
|
+
metricListUrl: resolveMetricListUrl(state),
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default connect(mapStateToProps)(SourceLinks);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { useSref } from '@uirouter/react';
|
|
2
|
+
import { ICanaryState } from 'kayenta/reducers';
|
|
3
|
+
import { resolveConfigIdFromExecutionId } from 'kayenta/selectors';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { connect } from 'react-redux';
|
|
6
|
+
|
|
7
|
+
interface IConfigLinkOwnProps {
|
|
8
|
+
configName: string;
|
|
9
|
+
executionId: string;
|
|
10
|
+
application: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface IConfigLinkStateProps {
|
|
14
|
+
configId: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const ConfigLink = ({ configId, configName }: IConfigLinkOwnProps & IConfigLinkStateProps) => {
|
|
18
|
+
const sref = useSref('^.^.canaryConfig.configDetail', { id: configId });
|
|
19
|
+
return <a {...sref}>{configName}</a>;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const mapStateToProps = (
|
|
23
|
+
state: ICanaryState,
|
|
24
|
+
ownProps: IConfigLinkOwnProps,
|
|
25
|
+
): IConfigLinkStateProps & IConfigLinkOwnProps => {
|
|
26
|
+
return {
|
|
27
|
+
configId: resolveConfigIdFromExecutionId(state, ownProps.executionId),
|
|
28
|
+
...ownProps,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default connect(mapStateToProps)(ConfigLink);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import LoadStatesBuilder from 'kayenta/components/loadStates';
|
|
2
|
+
import CenteredDetail from 'kayenta/layout/centeredDetail';
|
|
3
|
+
import { ICanaryState } from 'kayenta/reducers';
|
|
4
|
+
import { AsyncRequestState } from 'kayenta/reducers/asyncRequest';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { connect } from 'react-redux';
|
|
7
|
+
|
|
8
|
+
import ExecutionListTable from './table';
|
|
9
|
+
|
|
10
|
+
interface IExecutionListLoadStatesStateProps {
|
|
11
|
+
loadState: AsyncRequestState;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const ExecutionListLoadStates = ({ loadState }: IExecutionListLoadStatesStateProps) => {
|
|
15
|
+
const LoadStates = new LoadStatesBuilder()
|
|
16
|
+
.onFulfilled(<ExecutionListTable />)
|
|
17
|
+
.onFailed(
|
|
18
|
+
<CenteredDetail>
|
|
19
|
+
<h3 className="heading-3">Could not load canary execution history.</h3>
|
|
20
|
+
</CenteredDetail>,
|
|
21
|
+
)
|
|
22
|
+
.build();
|
|
23
|
+
return <LoadStates state={loadState} />;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const mapStateToProps = (state: ICanaryState) => {
|
|
27
|
+
return {
|
|
28
|
+
loadState: state.data.executions.load,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default connect(mapStateToProps)(ExecutionListLoadStates);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useSref } from '@uirouter/react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface IParentPipelineLinkProps {
|
|
5
|
+
parentPipelineExecutionId: string;
|
|
6
|
+
application: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const PipelineLink = ({ parentPipelineExecutionId, application }: IParentPipelineLinkProps) => {
|
|
10
|
+
const sref = useSref('home.applications.application.pipelines.executionDetails.execution', {
|
|
11
|
+
application,
|
|
12
|
+
executionId: parentPipelineExecutionId,
|
|
13
|
+
});
|
|
14
|
+
return <a {...sref}>Pipeline</a>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useSref } from '@uirouter/react';
|
|
2
|
+
import { ICanaryState } from 'kayenta/reducers';
|
|
3
|
+
import { resolveConfigIdFromExecutionId } from 'kayenta/selectors';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { connect } from 'react-redux';
|
|
6
|
+
|
|
7
|
+
interface IReportLinkOwnProps {
|
|
8
|
+
configName: string;
|
|
9
|
+
executionId: string;
|
|
10
|
+
application: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface IReportLinkStateProps {
|
|
15
|
+
configId: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const ReportLink = ({ configId, executionId, children }: IReportLinkOwnProps & IReportLinkStateProps) => {
|
|
19
|
+
const sref = useSref('^.reportDetail', { configId, runId: executionId });
|
|
20
|
+
return <a {...sref}>{children}</a>;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const mapStateToProps = (
|
|
24
|
+
state: ICanaryState,
|
|
25
|
+
ownProps: IReportLinkOwnProps,
|
|
26
|
+
): IReportLinkStateProps & IReportLinkOwnProps => {
|
|
27
|
+
return {
|
|
28
|
+
configId: resolveConfigIdFromExecutionId(state, ownProps.executionId),
|
|
29
|
+
...ownProps,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export default connect(mapStateToProps)(ReportLink);
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
import { CanarySettings } from 'kayenta/canary.settings';
|
|
2
|
+
import {
|
|
3
|
+
CANARY_EXECUTION_NO_PIPELINE_STATUS,
|
|
4
|
+
ICanaryExecutionStatusResult,
|
|
5
|
+
ICanaryMetricConfig,
|
|
6
|
+
ICanaryScopesByName,
|
|
7
|
+
IKayentaAccount,
|
|
8
|
+
} from 'kayenta/domain';
|
|
9
|
+
import CenteredDetail from 'kayenta/layout/centeredDetail';
|
|
10
|
+
import FormattedDate from 'kayenta/layout/formattedDate';
|
|
11
|
+
import { ITableColumn, NativeTable } from 'kayenta/layout/table';
|
|
12
|
+
import { ManualAnalysisModal } from 'kayenta/manualAnalysis/ManualAnalysisModal';
|
|
13
|
+
import { ICanaryState } from 'kayenta/reducers';
|
|
14
|
+
import { get, isEqual } from 'lodash';
|
|
15
|
+
import * as React from 'react';
|
|
16
|
+
import { connect } from 'react-redux';
|
|
17
|
+
|
|
18
|
+
import { Application, ReactInjector, relativeTime, Spinner, Tooltip } from '@spinnaker/core';
|
|
19
|
+
|
|
20
|
+
import ConfigLink from './configLink';
|
|
21
|
+
import Score from '../detail/score';
|
|
22
|
+
import { PipelineLink } from './pipelineLink';
|
|
23
|
+
import ReportLink from './reportLink';
|
|
24
|
+
|
|
25
|
+
import './executionList.less';
|
|
26
|
+
|
|
27
|
+
// Both this and the atlas-specific logic in `getScopeLocations` shouldn't really
|
|
28
|
+
// be in this file, and probably shouldn't even be referenced directly.
|
|
29
|
+
// Ideally this and any other metric store customizations should happen in a registry
|
|
30
|
+
// of store-specific transformation functions or similar.
|
|
31
|
+
const isAtlasScope = (scope: string, metrics: ICanaryMetricConfig[]) =>
|
|
32
|
+
metrics.some(({ query, scopeName }) => scopeName === scope && query.type === 'atlas');
|
|
33
|
+
|
|
34
|
+
const getScopeLocations = (scopes: ICanaryScopesByName, metrics: ICanaryMetricConfig[]) =>
|
|
35
|
+
Object.keys(scopes).reduce((acc, scopeName) => {
|
|
36
|
+
const { controlScope, experimentScope } = scopes[scopeName];
|
|
37
|
+
const isAtlas = isAtlasScope(scopeName, metrics);
|
|
38
|
+
|
|
39
|
+
// When atlas metrics have the dataset param set to global,
|
|
40
|
+
// the location field is not accurate.
|
|
41
|
+
if (isAtlas && get(controlScope, 'extendedScopeParams.dataset') === 'global') {
|
|
42
|
+
acc.add('Global');
|
|
43
|
+
} else {
|
|
44
|
+
acc.add(controlScope.location);
|
|
45
|
+
}
|
|
46
|
+
if (isAtlas && get(experimentScope, 'extendedScopeParams.dataset') === 'global') {
|
|
47
|
+
acc.add('Global');
|
|
48
|
+
} else {
|
|
49
|
+
acc.add(experimentScope.location);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return acc;
|
|
53
|
+
}, new Set<string>());
|
|
54
|
+
|
|
55
|
+
const baseColumns: Array<ITableColumn<ICanaryExecutionStatusResult>> = [
|
|
56
|
+
{
|
|
57
|
+
label: 'Summary',
|
|
58
|
+
getContent: (execution) => (
|
|
59
|
+
<div>
|
|
60
|
+
<ReportLink
|
|
61
|
+
configName={execution.config.name}
|
|
62
|
+
executionId={execution.pipelineId}
|
|
63
|
+
application={execution.application}
|
|
64
|
+
>
|
|
65
|
+
<Score score={execution.result.judgeResult.score} showClassification={false} inverse={true} />
|
|
66
|
+
{' '}
|
|
67
|
+
<FormattedDate dateIso={execution.startTimeIso} />
|
|
68
|
+
</ReportLink>
|
|
69
|
+
{execution.startTimeIso && (
|
|
70
|
+
<div className="color-text-caption body-small">
|
|
71
|
+
{relativeTime(new Date(execution.startTimeIso).getTime())}
|
|
72
|
+
</div>
|
|
73
|
+
)}
|
|
74
|
+
</div>
|
|
75
|
+
),
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
label: 'Locations',
|
|
79
|
+
getContent: ({ canaryExecutionRequest: { scopes }, config: { metrics } }) => {
|
|
80
|
+
const locations = [...getScopeLocations(scopes, metrics)];
|
|
81
|
+
|
|
82
|
+
return (
|
|
83
|
+
<div className="vertical">
|
|
84
|
+
{locations.map((location) => (
|
|
85
|
+
<span key={location}>{location}</span>
|
|
86
|
+
))}
|
|
87
|
+
</div>
|
|
88
|
+
);
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
label: 'Config',
|
|
93
|
+
getContent: (execution) => (
|
|
94
|
+
<ConfigLink
|
|
95
|
+
configName={execution.config.name}
|
|
96
|
+
executionId={execution.pipelineId}
|
|
97
|
+
application={execution.application}
|
|
98
|
+
/>
|
|
99
|
+
),
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: 'Scopes',
|
|
103
|
+
getContent: ({ canaryExecutionRequest: { scopes } }) => {
|
|
104
|
+
const baselineScopeNames = Object.keys(scopes).reduce(
|
|
105
|
+
(acc, scope) => acc.add(scopes[scope].controlScope.scope),
|
|
106
|
+
new Set<string>(),
|
|
107
|
+
);
|
|
108
|
+
const canaryScopeNames = Object.keys(scopes).reduce(
|
|
109
|
+
(acc, scope) => acc.add(scopes[scope].experimentScope.scope),
|
|
110
|
+
new Set<string>(),
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
const areScopesIdentical = isEqual(baselineScopeNames, canaryScopeNames);
|
|
114
|
+
|
|
115
|
+
const styles: React.CSSProperties = { maxWidth: '350px', wordBreak: 'break-all' };
|
|
116
|
+
if (areScopesIdentical) {
|
|
117
|
+
return (
|
|
118
|
+
<div className="vertical" style={styles}>
|
|
119
|
+
{[...canaryScopeNames].map((scope) => (
|
|
120
|
+
<span key={scope}>{scope}</span>
|
|
121
|
+
))}
|
|
122
|
+
</div>
|
|
123
|
+
);
|
|
124
|
+
} else {
|
|
125
|
+
return (
|
|
126
|
+
<div className="vertical" style={styles}>
|
|
127
|
+
<span className="heading-6 uppercase color-text-caption">Baseline</span>
|
|
128
|
+
{[...baselineScopeNames].map((scope) => (
|
|
129
|
+
<span key={scope}>{scope}</span>
|
|
130
|
+
))}
|
|
131
|
+
<span className="heading-6 uppercase color-text-caption" style={{ marginTop: '5px' }}>
|
|
132
|
+
Canary
|
|
133
|
+
</span>
|
|
134
|
+
{[...canaryScopeNames].map((scope) => (
|
|
135
|
+
<span key={scope}>{scope}</span>
|
|
136
|
+
))}
|
|
137
|
+
</div>
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
getContent: ({ parentPipelineExecutionId, application }) =>
|
|
144
|
+
parentPipelineExecutionId &&
|
|
145
|
+
parentPipelineExecutionId !== CANARY_EXECUTION_NO_PIPELINE_STATUS && (
|
|
146
|
+
<PipelineLink parentPipelineExecutionId={parentPipelineExecutionId} application={application} />
|
|
147
|
+
),
|
|
148
|
+
},
|
|
149
|
+
];
|
|
150
|
+
|
|
151
|
+
const getTableColumns = (application: Application, accounts: IKayentaAccount[]) => {
|
|
152
|
+
if (!CanarySettings.manualAnalysisEnabled) {
|
|
153
|
+
return baseColumns;
|
|
154
|
+
}
|
|
155
|
+
return baseColumns.concat([
|
|
156
|
+
{
|
|
157
|
+
label: 'Actions',
|
|
158
|
+
getContent: (execution) => (
|
|
159
|
+
<Tooltip value="Re-run analysis">
|
|
160
|
+
<button className="link" onClick={() => rerunAnalysis(execution, application, accounts)}>
|
|
161
|
+
<i className="fas fa-redo-alt" />
|
|
162
|
+
</button>
|
|
163
|
+
</Tooltip>
|
|
164
|
+
),
|
|
165
|
+
},
|
|
166
|
+
]);
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
const rerunAnalysis = (
|
|
170
|
+
execution: ICanaryExecutionStatusResult,
|
|
171
|
+
application: Application,
|
|
172
|
+
accounts: IKayentaAccount[],
|
|
173
|
+
) => {
|
|
174
|
+
const { controlScope, experimentScope } = Object.values(execution.canaryExecutionRequest.scopes)[0];
|
|
175
|
+
const step = `${controlScope.step ?? 60}`;
|
|
176
|
+
ManualAnalysisModal.show({
|
|
177
|
+
title: 'Start Manual Analysis',
|
|
178
|
+
application,
|
|
179
|
+
accounts,
|
|
180
|
+
initialValues: {
|
|
181
|
+
configId: execution.canaryConfigId,
|
|
182
|
+
startTime: controlScope.start,
|
|
183
|
+
endTime: controlScope.end,
|
|
184
|
+
step,
|
|
185
|
+
baselineScope: controlScope.scope,
|
|
186
|
+
canaryScope: experimentScope.scope,
|
|
187
|
+
baselineLocation: controlScope.location,
|
|
188
|
+
canaryLocation: experimentScope.location,
|
|
189
|
+
extendedScopeParams: controlScope.extendedScopeParams,
|
|
190
|
+
resourceType: controlScope.resourceType,
|
|
191
|
+
marginalThreshold: `${execution.canaryExecutionRequest.thresholds.marginal}`,
|
|
192
|
+
passThreshold: `${execution.canaryExecutionRequest.thresholds.pass}`,
|
|
193
|
+
metricsAccountName: execution.metricsAccountName,
|
|
194
|
+
storageAccountName: execution.storageAccountName,
|
|
195
|
+
},
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
const startManualAnalysis = (application: Application, accounts: IKayentaAccount[]) => {
|
|
200
|
+
ManualAnalysisModal.show({
|
|
201
|
+
title: 'Start Manual Analysis',
|
|
202
|
+
application,
|
|
203
|
+
accounts,
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
interface IExecutionListTableStateProps {
|
|
208
|
+
executions: ICanaryExecutionStatusResult[];
|
|
209
|
+
application: Application;
|
|
210
|
+
accounts: IKayentaAccount[];
|
|
211
|
+
executionsCount: number;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
const TableRows = ({
|
|
215
|
+
executions,
|
|
216
|
+
application,
|
|
217
|
+
accounts,
|
|
218
|
+
}: {
|
|
219
|
+
executions: ICanaryExecutionStatusResult[];
|
|
220
|
+
application: Application;
|
|
221
|
+
accounts: IKayentaAccount[];
|
|
222
|
+
}) => {
|
|
223
|
+
if (!application.getDataSource('canaryExecutions').loaded) {
|
|
224
|
+
return (
|
|
225
|
+
<CenteredDetail>
|
|
226
|
+
<div className="horizontal center middle spinner-container">
|
|
227
|
+
<Spinner />
|
|
228
|
+
</div>
|
|
229
|
+
</CenteredDetail>
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
if (!executions || !executions.length) {
|
|
233
|
+
return (
|
|
234
|
+
<CenteredDetail>
|
|
235
|
+
<h3 className="heading-3">No canary execution history for this application.</h3>
|
|
236
|
+
</CenteredDetail>
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
return (
|
|
240
|
+
<NativeTable
|
|
241
|
+
rows={executions}
|
|
242
|
+
className="flex-1 execution-list-table"
|
|
243
|
+
columns={getTableColumns(application, accounts)}
|
|
244
|
+
rowKey={(execution) => execution.pipelineId}
|
|
245
|
+
/>
|
|
246
|
+
);
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
const updateExecutionsCount = (event: React.ChangeEvent<HTMLSelectElement>) => {
|
|
250
|
+
ReactInjector.$state.go('.', { count: Number(event.target.value) });
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
const ExecutionListTable = ({ executions, application, accounts, executionsCount }: IExecutionListTableStateProps) => {
|
|
254
|
+
React.useEffect(() => {
|
|
255
|
+
const dataSource = application.getDataSource('canaryExecutions');
|
|
256
|
+
if (!dataSource.active) {
|
|
257
|
+
dataSource.activate();
|
|
258
|
+
}
|
|
259
|
+
dataSource.refresh();
|
|
260
|
+
return () => dataSource.deactivate();
|
|
261
|
+
}, [application, executionsCount]);
|
|
262
|
+
|
|
263
|
+
const countOptions: number[] = CanarySettings.executionsCountOptions ?? [20, 50, 100, 200];
|
|
264
|
+
if (!countOptions.includes(executionsCount)) {
|
|
265
|
+
countOptions.push(executionsCount);
|
|
266
|
+
countOptions.sort((a, b) => a - b);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
return (
|
|
270
|
+
<div className="vertical execution-list-container">
|
|
271
|
+
<div className="horizontal space-between form-inline">
|
|
272
|
+
<div className="form-group">
|
|
273
|
+
{countOptions.length > 1 && (
|
|
274
|
+
<>
|
|
275
|
+
<span className="sp-margin-s-right">Showing</span>
|
|
276
|
+
<select className="form-control input-sm" onChange={updateExecutionsCount}>
|
|
277
|
+
{countOptions.map((o) => (
|
|
278
|
+
<option selected={executionsCount === o} value={o}>
|
|
279
|
+
{o}
|
|
280
|
+
</option>
|
|
281
|
+
))}
|
|
282
|
+
</select>
|
|
283
|
+
<span className="sp-margin-s-left">most recent reports</span>
|
|
284
|
+
</>
|
|
285
|
+
)}
|
|
286
|
+
</div>
|
|
287
|
+
{CanarySettings.manualAnalysisEnabled && (
|
|
288
|
+
<button
|
|
289
|
+
style={{ alignSelf: 'flex-end', flexShrink: 0 }}
|
|
290
|
+
className="primary"
|
|
291
|
+
onClick={() => startManualAnalysis(application, accounts)}
|
|
292
|
+
>
|
|
293
|
+
<i className="fa fa-play" /> Start Manual Analysis
|
|
294
|
+
</button>
|
|
295
|
+
)}
|
|
296
|
+
</div>
|
|
297
|
+
<TableRows executions={executions} application={application} accounts={accounts} />
|
|
298
|
+
</div>
|
|
299
|
+
);
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
const mapStateToProps = (state: ICanaryState) => ({
|
|
303
|
+
executions: Object.values(state.data.executions.data).filter((e) => e.result),
|
|
304
|
+
application: state.data.application,
|
|
305
|
+
accounts: state.data.kayentaAccounts.data,
|
|
306
|
+
executionsCount: state.app.executionsCount,
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
export default connect(mapStateToProps)(ExecutionListTable);
|