@spinnaker/kayenta 2025.3.0 → 2025.4.1
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/build/dist/index-8a3ef7a0.js +2 -0
- package/build/dist/index-8a3ef7a0.js.map +1 -0
- package/{src/index.ts → build/dist/index.d.ts} +1 -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 +416 -0
- package/build/dist/kayenta/actions/creators.d.ts.map +1 -0
- package/build/dist/kayenta/actions/index.d.ts +99 -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/{src/kayenta/domain/ISetupCanaryStage.ts → build/dist/kayenta/domain/ISetupCanaryStage.d.ts} +7 -7
- package/build/dist/kayenta/domain/ISetupCanaryStage.d.ts.map +1 -0
- package/build/dist/kayenta/domain/MetricClassificationLabel.d.ts +9 -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/{src/kayenta/domain/index.ts → build/dist/kayenta/domain/index.d.ts} +1 -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 +27 -0
- package/build/dist/kayenta/edit/editMetricModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricModal.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/editMetricModal.spec.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/{src/kayenta/index.ts → build/dist/kayenta/index.d.ts} +1 -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/{src/kayenta/layout/index.ts → build/dist/kayenta/layout/index.d.ts} +1 -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/{src/kayenta/layout/table/index.ts → build/dist/kayenta/layout/table/index.d.ts} +1 -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/{src/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.ts → build/dist/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.d.ts} +2 -2
- 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/{src/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.ts → build/dist/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.d.ts} +2 -2
- 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/{src/kayenta/metricStore/index.ts → build/dist/kayenta/metricStore/index.d.ts} +1 -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/{src/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.ts → build/dist/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.d.ts} +2 -2
- 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/{src/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.ts → build/dist/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.d.ts} +2 -2
- 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/{src/kayenta/middleware/index.ts → build/dist/kayenta/middleware/index.d.ts} +1 -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/{src/kayenta/report/detail/graph/semiotic/semiotic.service.ts → build/dist/kayenta/report/detail/graph/semiotic/semiotic.service.d.ts} +14 -19
- 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-b3700c07.js +2 -0
- package/build/dist/lazy-b3700c07.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-552b48d5.js +2 -0
- package/build/dist/semioticGraph-552b48d5.js.map +1 -0
- package/build/dist/stub.d.ts +15 -0
- package/build/dist/stub.d.ts.map +1 -0
- package/package.json +7 -4
- package/.eslintrc.js +0 -1
- package/.huskyrc +0 -5
- package/.lintstagedrc.json +0 -4
- package/.prettierignore +0 -4
- package/.prettierrc.js +0 -1
- package/__mocks__/styleMock.js +0 -1
- package/__mocks__/version.json +0 -4
- package/babel.config.js +0 -3
- package/build.gradle +0 -67
- package/build_scripts/checkLicenses.js +0 -79
- package/gradle.properties +0 -0
- package/jest.config.js +0 -204
- package/jest.setup.js +0 -5
- package/rollup-plugin-angularjs-template-loader.js +0 -82
- package/rollup.config.js +0 -30
- package/src/kayenta/actions/creators.ts +0 -163
- package/src/kayenta/actions/index.ts +0 -98
- package/src/kayenta/canary.dataSource.bridge.ts +0 -53
- package/src/kayenta/canary.dataSource.stub.ts +0 -64
- package/src/kayenta/canary.help.ts +0 -136
- package/src/kayenta/canary.less +0 -168
- package/src/kayenta/canary.settings.ts +0 -26
- package/src/kayenta/canary.tsx +0 -67
- package/src/kayenta/components/canaryScore.component.less +0 -77
- package/src/kayenta/components/canaryScore.component.ts +0 -12
- package/src/kayenta/components/canaryScore.tsx +0 -63
- package/src/kayenta/components/canaryScores.component.ts +0 -20
- package/src/kayenta/components/canaryScores.less +0 -22
- package/src/kayenta/components/canaryScores.tsx +0 -163
- package/src/kayenta/components/loadStates.tsx +0 -52
- package/src/kayenta/domain/ICanaryConfig.ts +0 -57
- package/src/kayenta/domain/ICanaryConfigSummary.ts +0 -7
- package/src/kayenta/domain/ICanaryConfigUpdateResponse.ts +0 -3
- package/src/kayenta/domain/ICanaryExecutionStatusResult.ts +0 -72
- package/src/kayenta/domain/ICanaryJudgeResult.ts +0 -51
- package/src/kayenta/domain/ICanaryJudgeResultSummary.ts +0 -5
- package/src/kayenta/domain/ICanaryScoreThresholds.ts +0 -4
- package/src/kayenta/domain/IJudge.ts +0 -5
- package/src/kayenta/domain/IKayentaAccount.ts +0 -14
- package/src/kayenta/domain/IKayentaStageConfig.ts +0 -58
- package/src/kayenta/domain/IMetricSetPair.ts +0 -17
- package/src/kayenta/domain/IMetricsServiceMetadata.ts +0 -2
- package/src/kayenta/domain/MetricClassificationLabel.ts +0 -8
- package/src/kayenta/domain/ScoreClassificationLabel.ts +0 -7
- package/src/kayenta/edit/changeMetricGroupModal.tsx +0 -107
- package/src/kayenta/edit/configDetail.tsx +0 -31
- package/src/kayenta/edit/configDetailActionButtons.tsx +0 -24
- package/src/kayenta/edit/configDetailHeader.tsx +0 -104
- package/src/kayenta/edit/configDetailLoadStates.tsx +0 -36
- package/src/kayenta/edit/configDetailLoader.tsx +0 -60
- package/src/kayenta/edit/configJson.less +0 -42
- package/src/kayenta/edit/configJsonModal.tsx +0 -158
- package/src/kayenta/edit/configList.less +0 -7
- package/src/kayenta/edit/configList.tsx +0 -57
- package/src/kayenta/edit/copyConfigButton.tsx +0 -34
- package/src/kayenta/edit/createConfigButton.tsx +0 -34
- package/src/kayenta/edit/deleteModal.tsx +0 -87
- package/src/kayenta/edit/edit.tsx +0 -24
- package/src/kayenta/edit/editMetricEffectSizes.tsx +0 -186
- package/src/kayenta/edit/editMetricModal.less +0 -9
- package/src/kayenta/edit/editMetricModal.spec.tsx +0 -129
- package/src/kayenta/edit/editMetricModal.tsx +0 -294
- package/src/kayenta/edit/editMetricValidation.spec.ts +0 -63
- package/src/kayenta/edit/editMetricValidation.ts +0 -50
- package/src/kayenta/edit/filterTemplateSelector.less +0 -15
- package/src/kayenta/edit/filterTemplateSelector.spec.tsx +0 -106
- package/src/kayenta/edit/filterTemplateSelector.tsx +0 -194
- package/src/kayenta/edit/filterTemplatesValidation.spec.ts +0 -108
- package/src/kayenta/edit/filterTemplatesValidation.ts +0 -95
- package/src/kayenta/edit/footer.less +0 -30
- package/src/kayenta/edit/footer.tsx +0 -12
- package/src/kayenta/edit/groupName.tsx +0 -80
- package/src/kayenta/edit/groupTabs.tsx +0 -106
- package/src/kayenta/edit/groupWeight.tsx +0 -80
- package/src/kayenta/edit/groupWeights.tsx +0 -38
- package/src/kayenta/edit/inlineTemplateEditor.spec.tsx +0 -42
- package/src/kayenta/edit/inlineTemplateEditor.tsx +0 -61
- package/src/kayenta/edit/judgeSelect.tsx +0 -82
- package/src/kayenta/edit/metricConfigurerDelegator.tsx +0 -30
- package/src/kayenta/edit/metricList.less +0 -21
- package/src/kayenta/edit/metricList.tsx +0 -215
- package/src/kayenta/edit/metricStoreSelector.tsx +0 -66
- package/src/kayenta/edit/nameAndDescription.tsx +0 -90
- package/src/kayenta/edit/openConfigJsonModalButton.tsx +0 -33
- package/src/kayenta/edit/openDeleteModalButton.tsx +0 -50
- package/src/kayenta/edit/ownedBy.tsx +0 -34
- package/src/kayenta/edit/save.tsx +0 -19
- package/src/kayenta/edit/saveConfigButton.tsx +0 -65
- package/src/kayenta/edit/saveConfigError.tsx +0 -59
- package/src/kayenta/edit/scoring.tsx +0 -35
- package/src/kayenta/edit/selectConfig.tsx +0 -10
- package/src/kayenta/edit/validationErrors.tsx +0 -39
- package/src/kayenta/layout/addNewButton.tsx +0 -20
- package/src/kayenta/layout/centeredDetail.tsx +0 -13
- package/src/kayenta/layout/deleteButton.tsx +0 -11
- package/src/kayenta/layout/disableable.tsx +0 -87
- package/src/kayenta/layout/formList.tsx +0 -26
- package/src/kayenta/layout/formRow.tsx +0 -36
- package/src/kayenta/layout/formattedDate.tsx +0 -14
- package/src/kayenta/layout/keyValueList.less +0 -20
- package/src/kayenta/layout/keyValueList.tsx +0 -114
- package/src/kayenta/layout/list.less +0 -9
- package/src/kayenta/layout/list.spec.tsx +0 -83
- package/src/kayenta/layout/list.tsx +0 -73
- package/src/kayenta/layout/listDetail.tsx +0 -33
- package/src/kayenta/layout/radioChoice.tsx +0 -29
- package/src/kayenta/layout/styleguide.tsx +0 -16
- package/src/kayenta/layout/table/nativeTable.tsx +0 -51
- package/src/kayenta/layout/table/nativeTableHeader.tsx +0 -26
- package/src/kayenta/layout/table/table.tsx +0 -56
- package/src/kayenta/layout/table/tableColumn.ts +0 -7
- package/src/kayenta/layout/table/tableHeader.tsx +0 -23
- package/src/kayenta/layout/tabs.tsx +0 -26
- package/src/kayenta/layout/titledSection.less +0 -16
- package/src/kayenta/layout/titledSection.tsx +0 -20
- package/src/kayenta/layout/titledSubsection.less +0 -11
- package/src/kayenta/layout/titledSubsection.tsx +0 -22
- package/src/kayenta/manualAnalysis/ManualAnalysisModal.tsx +0 -716
- package/src/kayenta/metricStore/atlas/atlasMetricConfigurer.tsx +0 -130
- package/src/kayenta/metricStore/atlas/index.ts +0 -8
- package/src/kayenta/metricStore/datadog/index.ts +0 -9
- package/src/kayenta/metricStore/datadog/metricConfigurer.tsx +0 -90
- package/src/kayenta/metricStore/datadog/metricTypeSelector.spec.tsx +0 -59
- package/src/kayenta/metricStore/datadog/metricTypeSelector.tsx +0 -73
- package/src/kayenta/metricStore/graphite/index.ts +0 -8
- package/src/kayenta/metricStore/graphite/metricConfigurer.tsx +0 -54
- package/src/kayenta/metricStore/graphite/metricTypeSelector.tsx +0 -80
- package/src/kayenta/metricStore/graphite/typeahead.less +0 -3
- package/src/kayenta/metricStore/metricStoreConfig.service.ts +0 -12
- package/src/kayenta/metricStore/newrelic/index.ts +0 -8
- package/src/kayenta/metricStore/newrelic/metricConfigurer.tsx +0 -58
- package/src/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.ts +0 -14
- package/src/kayenta/metricStore/prometheus/index.ts +0 -12
- package/src/kayenta/metricStore/prometheus/metricConfigurer.tsx +0 -157
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.less +0 -5
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.spec.tsx +0 -62
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.tsx +0 -144
- package/src/kayenta/metricStore/prometheus/queryTypeSelectors.spec.ts +0 -61
- package/src/kayenta/metricStore/prometheus/queryTypeSelectors.ts +0 -38
- package/src/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.ts +0 -7
- package/src/kayenta/metricStore/signalfx/index.ts +0 -8
- package/src/kayenta/metricStore/signalfx/metricConfigurer.less +0 -10
- package/src/kayenta/metricStore/signalfx/metricConfigurer.tsx +0 -187
- package/src/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.ts +0 -9
- package/src/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.ts +0 -17
- package/src/kayenta/metricStore/stackdriver/index.ts +0 -12
- package/src/kayenta/metricStore/stackdriver/metricConfigurer.tsx +0 -144
- package/src/kayenta/metricStore/stackdriver/metricTypeSelector.spec.tsx +0 -92
- package/src/kayenta/metricStore/stackdriver/metricTypeSelector.tsx +0 -113
- package/src/kayenta/middleware/actionInterceptor.ts +0 -29
- package/src/kayenta/middleware/asyncDispatch.ts +0 -37
- package/src/kayenta/middleware/epics.ts +0 -211
- package/src/kayenta/navigation/canary.states.stub.ts +0 -28
- package/src/kayenta/navigation/canary.states.ts +0 -182
- package/src/kayenta/reducers/app.ts +0 -56
- package/src/kayenta/reducers/asyncRequest.ts +0 -5
- package/src/kayenta/reducers/data.ts +0 -169
- package/src/kayenta/reducers/editingTemplate.ts +0 -54
- package/src/kayenta/reducers/group.ts +0 -82
- package/src/kayenta/reducers/index.ts +0 -245
- package/src/kayenta/reducers/prometheusMetricConfig.spec.ts +0 -33
- package/src/kayenta/reducers/prometheusMetricConfig.ts +0 -56
- package/src/kayenta/reducers/selectedConfig.spec.ts +0 -190
- package/src/kayenta/reducers/selectedConfig.ts +0 -566
- package/src/kayenta/reducers/selectedRun.ts +0 -101
- package/src/kayenta/reducers/signalFxMetricConfig.ts +0 -36
- package/src/kayenta/reducers/stackdriverMetricConfig.spec.ts +0 -33
- package/src/kayenta/reducers/stackdriverMetricConfig.ts +0 -41
- package/src/kayenta/reducers/templates.spec.ts +0 -192
- package/src/kayenta/reducers/validators.ts +0 -118
- package/src/kayenta/report/detail/allMetricResultsHeader.tsx +0 -32
- package/src/kayenta/report/detail/clickableHeader.tsx +0 -21
- package/src/kayenta/report/detail/colors.ts +0 -47
- package/src/kayenta/report/detail/detail.less +0 -16
- package/src/kayenta/report/detail/detail.tsx +0 -48
- package/src/kayenta/report/detail/detailLoader.tsx +0 -55
- package/src/kayenta/report/detail/graph/graph.tsx +0 -37
- package/src/kayenta/report/detail/graph/metricSetPairGraph.service.ts +0 -35
- package/src/kayenta/report/detail/graph/semiotic/boxplot.less +0 -45
- package/src/kayenta/report/detail/graph/semiotic/boxplot.tsx +0 -283
- package/src/kayenta/report/detail/graph/semiotic/chartHeader.tsx +0 -19
- package/src/kayenta/report/detail/graph/semiotic/chartLegend.less +0 -26
- package/src/kayenta/report/detail/graph/semiotic/chartLegend.tsx +0 -42
- package/src/kayenta/report/detail/graph/semiotic/circleIcon.tsx +0 -16
- package/src/kayenta/report/detail/graph/semiotic/config.less +0 -5
- package/src/kayenta/report/detail/graph/semiotic/config.ts +0 -38
- package/src/kayenta/report/detail/graph/semiotic/customAxisTickLabel.tsx +0 -17
- package/src/kayenta/report/detail/graph/semiotic/declarations/labella.d.ts +0 -16
- package/src/kayenta/report/detail/graph/semiotic/declarations/react-container-dimensions.d.ts +0 -3
- package/src/kayenta/report/detail/graph/semiotic/declarations/semiotic.d.ts +0 -160
- package/src/kayenta/report/detail/graph/semiotic/differenceArea.less +0 -17
- package/src/kayenta/report/detail/graph/semiotic/differenceArea.tsx +0 -186
- package/src/kayenta/report/detail/graph/semiotic/histogram.less +0 -22
- package/src/kayenta/report/detail/graph/semiotic/histogram.tsx +0 -251
- package/src/kayenta/report/detail/graph/semiotic/index.tsx +0 -19
- package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.less +0 -5
- package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.tsx +0 -10
- package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.less +0 -6
- package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.tsx +0 -58
- package/src/kayenta/report/detail/graph/semiotic/semioticGraph.less +0 -53
- package/src/kayenta/report/detail/graph/semiotic/semioticGraph.tsx +0 -49
- package/src/kayenta/report/detail/graph/semiotic/timeSeries.less +0 -42
- package/src/kayenta/report/detail/graph/semiotic/timeSeries.tsx +0 -473
- package/src/kayenta/report/detail/graph/semiotic/tooltip.tsx +0 -55
- package/src/kayenta/report/detail/graph/semiotic/utils.ts +0 -90
- package/src/kayenta/report/detail/graphTypeSelector.less +0 -4
- package/src/kayenta/report/detail/graphTypeSelector.tsx +0 -50
- package/src/kayenta/report/detail/groupScores.tsx +0 -68
- package/src/kayenta/report/detail/header.less +0 -70
- package/src/kayenta/report/detail/header.tsx +0 -39
- package/src/kayenta/report/detail/headerArrow.tsx +0 -13
- package/src/kayenta/report/detail/loadStates.tsx +0 -31
- package/src/kayenta/report/detail/metricResultActions.less +0 -29
- package/src/kayenta/report/detail/metricResultActions.tsx +0 -87
- package/src/kayenta/report/detail/metricResultClassification.tsx +0 -22
- package/src/kayenta/report/detail/metricResultDetail.tsx +0 -20
- package/src/kayenta/report/detail/metricResultDetailLayout.tsx +0 -19
- package/src/kayenta/report/detail/metricResultDeviation.tsx +0 -25
- package/src/kayenta/report/detail/metricResultStats.less +0 -9
- package/src/kayenta/report/detail/metricResultStats.tsx +0 -120
- package/src/kayenta/report/detail/metricResults.less +0 -12
- package/src/kayenta/report/detail/metricResults.tsx +0 -52
- package/src/kayenta/report/detail/metricResultsClassificationFilters.tsx +0 -65
- package/src/kayenta/report/detail/metricResultsColumns.tsx +0 -27
- package/src/kayenta/report/detail/metricResultsList.less +0 -44
- package/src/kayenta/report/detail/metricResultsList.tsx +0 -120
- package/src/kayenta/report/detail/metricSetPairLoadStates.tsx +0 -22
- package/src/kayenta/report/detail/multipleResultsTable.tsx +0 -81
- package/src/kayenta/report/detail/reportException.tsx +0 -57
- package/src/kayenta/report/detail/reportExplanation.less +0 -12
- package/src/kayenta/report/detail/reportExplanation.tsx +0 -32
- package/src/kayenta/report/detail/reportMetadata.tsx +0 -167
- package/src/kayenta/report/detail/reportScores.less +0 -47
- package/src/kayenta/report/detail/reportScores.tsx +0 -80
- package/src/kayenta/report/detail/score.tsx +0 -33
- package/src/kayenta/report/detail/sourceLinks.tsx +0 -69
- package/src/kayenta/report/list/configLink.tsx +0 -32
- package/src/kayenta/report/list/executionList.less +0 -7
- package/src/kayenta/report/list/loadStates.tsx +0 -32
- package/src/kayenta/report/list/pipelineLink.tsx +0 -15
- package/src/kayenta/report/list/reportLink.tsx +0 -33
- package/src/kayenta/report/list/table.tsx +0 -309
- package/src/kayenta/report/report.tsx +0 -11
- package/src/kayenta/selectors/filterTemplatesSelectors.ts +0 -87
- package/src/kayenta/selectors/index.ts +0 -62
- package/src/kayenta/service/canaryConfig.service.ts +0 -122
- package/src/kayenta/service/canaryRun.service.ts +0 -60
- package/src/kayenta/service/delegateFactory.ts +0 -24
- package/src/kayenta/service/metricsServiceMetadata.service.ts +0 -9
- package/src/kayenta/stages/kayentaStage/AnalysisType.spec.tsx +0 -47
- package/src/kayenta/stages/kayentaStage/AnalysisType.tsx +0 -49
- package/src/kayenta/stages/kayentaStage/CanaryExecutionLabel.tsx +0 -26
- package/src/kayenta/stages/kayentaStage/analysisType.component.ts +0 -12
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.component.ts +0 -12
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.less +0 -5
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.tsx +0 -136
- package/src/kayenta/stages/kayentaStage/forAnalysisType.component.ts +0 -45
- package/src/kayenta/stages/kayentaStage/kayentaStage.controller.ts +0 -789
- package/src/kayenta/stages/kayentaStage/kayentaStage.html +0 -528
- package/src/kayenta/stages/kayentaStage/kayentaStage.less +0 -5
- package/src/kayenta/stages/kayentaStage/kayentaStage.transformer.ts +0 -179
- package/src/kayenta/stages/kayentaStage/kayentaStage.ts +0 -221
- package/src/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.ts +0 -21
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.ts +0 -88
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.html +0 -114
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.less +0 -6
- package/src/kayenta/stages/kayentaStage/stageTypes.ts +0 -5
- package/src/kayenta/utils/duration.spec.ts +0 -69
- package/src/kayenta/utils/duration.ts +0 -48
- package/src/lazy.ts +0 -29
- package/src/stub.ts +0 -60
- package/tsconfig.json +0 -11
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { CanarySettings } from 'kayenta/canary.settings';
|
|
3
|
-
import { ICanaryConfig } from 'kayenta/domain/ICanaryConfig';
|
|
4
|
-
import { DISABLE_EDIT_CONFIG, DisableableInput } from 'kayenta/layout/disableable';
|
|
5
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
6
|
-
import { mapStateToConfig } from 'kayenta/service/canaryConfig.service';
|
|
7
|
-
import { get, isNumber } from 'lodash';
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import { connect } from 'react-redux';
|
|
10
|
-
import { Action } from 'redux';
|
|
11
|
-
|
|
12
|
-
import FormRow from '../layout/formRow';
|
|
13
|
-
|
|
14
|
-
export interface IGroupWeightOwnProps {
|
|
15
|
-
group: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface IGroupWeightStateProps {
|
|
19
|
-
config: ICanaryConfig;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface IGroupWeightDispatchProps {
|
|
23
|
-
handleInputChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/*
|
|
27
|
-
* Component for configuring a group weight.
|
|
28
|
-
* */
|
|
29
|
-
function GroupWeight({
|
|
30
|
-
group,
|
|
31
|
-
config,
|
|
32
|
-
handleInputChange,
|
|
33
|
-
}: IGroupWeightOwnProps & IGroupWeightStateProps & IGroupWeightDispatchProps) {
|
|
34
|
-
const groupWeight = getGroupWeights(config)[group];
|
|
35
|
-
return (
|
|
36
|
-
<FormRow label={group} inputOnly={true}>
|
|
37
|
-
<DisableableInput
|
|
38
|
-
type="number"
|
|
39
|
-
value={isNumber(groupWeight) ? groupWeight : ''}
|
|
40
|
-
onChange={handleInputChange}
|
|
41
|
-
min={0}
|
|
42
|
-
max={100}
|
|
43
|
-
disabled={CanarySettings.disableConfigEdit}
|
|
44
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
45
|
-
/>
|
|
46
|
-
</FormRow>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function getGroupWeights(config: ICanaryConfig): { [key: string]: number } {
|
|
51
|
-
return get(config, 'classifier.groupWeights', {});
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function mapStateToProps(
|
|
55
|
-
state: ICanaryState,
|
|
56
|
-
ownProps: IGroupWeightOwnProps,
|
|
57
|
-
): IGroupWeightOwnProps & IGroupWeightStateProps {
|
|
58
|
-
return {
|
|
59
|
-
...ownProps,
|
|
60
|
-
config: mapStateToConfig(state),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
function mapDispatchToProps(
|
|
65
|
-
dispatch: (action: Action & any) => void,
|
|
66
|
-
{ group }: IGroupWeightOwnProps,
|
|
67
|
-
): IGroupWeightDispatchProps {
|
|
68
|
-
return {
|
|
69
|
-
handleInputChange: (event: React.ChangeEvent<HTMLInputElement>) => {
|
|
70
|
-
dispatch(
|
|
71
|
-
Creators.updateGroupWeight({
|
|
72
|
-
group,
|
|
73
|
-
weight: event.target.value ? parseInt(event.target.value, 10) : null,
|
|
74
|
-
}),
|
|
75
|
-
);
|
|
76
|
-
},
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export default connect(mapStateToProps, mapDispatchToProps)(GroupWeight);
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { flatMap, uniq } from 'lodash';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { connect } from 'react-redux';
|
|
4
|
-
|
|
5
|
-
import GroupWeight from './groupWeight';
|
|
6
|
-
import { ICanaryState } from '../reducers/index';
|
|
7
|
-
import { mapStateToConfig } from '../service/canaryConfig.service';
|
|
8
|
-
|
|
9
|
-
interface IGroupWeightsStateProps {
|
|
10
|
-
groups: string[];
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/*
|
|
14
|
-
* Component for rendering list of group weight configurers.
|
|
15
|
-
*/
|
|
16
|
-
function GroupWeights({ groups }: IGroupWeightsStateProps) {
|
|
17
|
-
const hasGroups = groups.length > 0;
|
|
18
|
-
return (
|
|
19
|
-
<section>
|
|
20
|
-
{hasGroups ? (
|
|
21
|
-
groups.map((group) => <GroupWeight key={group} group={group} />)
|
|
22
|
-
) : (
|
|
23
|
-
<p key="no-groups">You have not configured any grouped metrics.</p>
|
|
24
|
-
)}
|
|
25
|
-
</section>
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function mapStateToProps(state: ICanaryState): IGroupWeightsStateProps {
|
|
30
|
-
const config = mapStateToConfig(state);
|
|
31
|
-
const metrics = config ? config.metrics : [];
|
|
32
|
-
const groups = uniq(flatMap(metrics, (metric) => metric.groups || []));
|
|
33
|
-
return {
|
|
34
|
-
groups,
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export default connect(mapStateToProps)(GroupWeights);
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { mount } from 'enzyme';
|
|
2
|
-
import { identity } from 'lodash';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { Provider } from 'react-redux';
|
|
5
|
-
import { createMockStore } from 'redux-test-utils';
|
|
6
|
-
|
|
7
|
-
import { noop, ValidationMessage } from '@spinnaker/core';
|
|
8
|
-
|
|
9
|
-
import { IInlineTemplateEditorProps, InlineTemplateEditor } from './inlineTemplateEditor';
|
|
10
|
-
import { DisableableTextarea } from '../layout/disableable';
|
|
11
|
-
|
|
12
|
-
describe('<InlineTemplateEditor />', () => {
|
|
13
|
-
const buildComponent = (props: IInlineTemplateEditorProps) =>
|
|
14
|
-
mount(
|
|
15
|
-
<Provider store={createMockStore()}>
|
|
16
|
-
<InlineTemplateEditor {...props} />
|
|
17
|
-
</Provider>,
|
|
18
|
-
).find(InlineTemplateEditor);
|
|
19
|
-
|
|
20
|
-
it('renders a textarea with template value', () => {
|
|
21
|
-
const component = buildComponent({
|
|
22
|
-
templateValue: 'metadata.user_labels."app"="${scope}"',
|
|
23
|
-
transformValueForSave: identity,
|
|
24
|
-
editTemplateValue: noop,
|
|
25
|
-
});
|
|
26
|
-
expect(component.find(DisableableTextarea).first().props().value).toEqual('metadata.user_labels."app"="${scope}"');
|
|
27
|
-
});
|
|
28
|
-
it('renders an error for empty input', () => {
|
|
29
|
-
let component = buildComponent({
|
|
30
|
-
templateValue: 'metadata.user_labels."app"="${scope}"',
|
|
31
|
-
transformValueForSave: identity,
|
|
32
|
-
editTemplateValue: noop,
|
|
33
|
-
});
|
|
34
|
-
expect(component.find(ValidationMessage).length).toEqual(0);
|
|
35
|
-
component = buildComponent({
|
|
36
|
-
templateValue: '',
|
|
37
|
-
transformValueForSave: identity,
|
|
38
|
-
editTemplateValue: noop,
|
|
39
|
-
});
|
|
40
|
-
expect(component.find(ValidationMessage).props().message).toEqual('Template is required');
|
|
41
|
-
});
|
|
42
|
-
});
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { CanarySettings } from 'kayenta/canary.settings';
|
|
3
|
-
import { DISABLE_EDIT_CONFIG, DisableableTextarea } from 'kayenta/layout/disableable';
|
|
4
|
-
import FormRow from 'kayenta/layout/formRow';
|
|
5
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
6
|
-
import {
|
|
7
|
-
inlineTemplateValueSelector,
|
|
8
|
-
transformInlineTemplateForSave,
|
|
9
|
-
} from 'kayenta/selectors/filterTemplatesSelectors';
|
|
10
|
-
import { isEmpty } from 'lodash';
|
|
11
|
-
import * as React from 'react';
|
|
12
|
-
import { connect } from 'react-redux';
|
|
13
|
-
|
|
14
|
-
interface IInlineTemplateEditorStateProps {
|
|
15
|
-
templateValue: string;
|
|
16
|
-
transformValueForSave: (value: string) => string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface IInlineTemplateEditorDispatchProps {
|
|
20
|
-
editTemplateValue: (value: string) => void;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export type IInlineTemplateEditorProps = IInlineTemplateEditorStateProps & IInlineTemplateEditorDispatchProps;
|
|
24
|
-
|
|
25
|
-
export function InlineTemplateEditor({
|
|
26
|
-
editTemplateValue,
|
|
27
|
-
templateValue,
|
|
28
|
-
transformValueForSave,
|
|
29
|
-
}: IInlineTemplateEditorProps) {
|
|
30
|
-
return (
|
|
31
|
-
<FormRow
|
|
32
|
-
label="Template"
|
|
33
|
-
inputOnly={true}
|
|
34
|
-
helpId="canary.config.filterTemplate"
|
|
35
|
-
error={isEmpty(templateValue) && 'Template is required'}
|
|
36
|
-
>
|
|
37
|
-
<DisableableTextarea
|
|
38
|
-
className="template-editor-textarea"
|
|
39
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
40
|
-
disabled={CanarySettings.disableConfigEdit}
|
|
41
|
-
onChange={(e: any) => editTemplateValue(transformValueForSave(e.target.value))}
|
|
42
|
-
value={templateValue}
|
|
43
|
-
/>
|
|
44
|
-
</FormRow>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function mapStateToProps(state: ICanaryState): IInlineTemplateEditorStateProps {
|
|
49
|
-
return {
|
|
50
|
-
templateValue: inlineTemplateValueSelector(state),
|
|
51
|
-
transformValueForSave: transformInlineTemplateForSave(state),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
function mapDispatchToProps(dispatch: any): IInlineTemplateEditorDispatchProps {
|
|
56
|
-
return {
|
|
57
|
-
editTemplateValue: (value: string) => dispatch(Creators.editInlineTemplate({ value })),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export default connect(mapStateToProps, mapDispatchToProps)(InlineTemplateEditor);
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { CanarySettings } from 'kayenta/canary.settings';
|
|
3
|
-
import { DISABLE_EDIT_CONFIG, DisableableInput, DisableableReactSelect } from 'kayenta/layout/disableable';
|
|
4
|
-
import FormRow from 'kayenta/layout/formRow';
|
|
5
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import { connect } from 'react-redux';
|
|
8
|
-
import { Option } from 'react-select';
|
|
9
|
-
import { Action } from 'redux';
|
|
10
|
-
|
|
11
|
-
interface IJudgeSelectStateProps {
|
|
12
|
-
judgeOptions: Option[];
|
|
13
|
-
selectedJudge: string;
|
|
14
|
-
renderState: JudgeSelectRenderState;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface IJudgeSelectDispatchProps {
|
|
18
|
-
handleJudgeSelect: (option: Option) => void;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export enum JudgeSelectRenderState {
|
|
22
|
-
Multiple,
|
|
23
|
-
Single,
|
|
24
|
-
None,
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/*
|
|
28
|
-
* Select field for picking canary judge.
|
|
29
|
-
*/
|
|
30
|
-
function JudgeSelect({
|
|
31
|
-
judgeOptions,
|
|
32
|
-
selectedJudge,
|
|
33
|
-
handleJudgeSelect,
|
|
34
|
-
renderState,
|
|
35
|
-
}: IJudgeSelectStateProps & IJudgeSelectDispatchProps) {
|
|
36
|
-
switch (renderState) {
|
|
37
|
-
case JudgeSelectRenderState.Multiple:
|
|
38
|
-
return (
|
|
39
|
-
<FormRow>
|
|
40
|
-
<DisableableReactSelect
|
|
41
|
-
value={selectedJudge}
|
|
42
|
-
options={judgeOptions}
|
|
43
|
-
clearable={false}
|
|
44
|
-
onChange={handleJudgeSelect}
|
|
45
|
-
disabled={CanarySettings.disableConfigEdit}
|
|
46
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
47
|
-
/>
|
|
48
|
-
</FormRow>
|
|
49
|
-
);
|
|
50
|
-
case JudgeSelectRenderState.Single:
|
|
51
|
-
return (
|
|
52
|
-
<FormRow>
|
|
53
|
-
<DisableableInput
|
|
54
|
-
type="text"
|
|
55
|
-
value={selectedJudge}
|
|
56
|
-
disabled={true}
|
|
57
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
58
|
-
/>
|
|
59
|
-
</FormRow>
|
|
60
|
-
);
|
|
61
|
-
case JudgeSelectRenderState.None:
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function mapStateToProps(state: ICanaryState): IJudgeSelectStateProps {
|
|
67
|
-
return {
|
|
68
|
-
judgeOptions: (state.data.judges || []).map((judge) => ({ value: judge.name, label: judge.name })),
|
|
69
|
-
selectedJudge: state.selectedConfig.judge.judgeConfig.name,
|
|
70
|
-
renderState: state.selectedConfig.judge.renderState,
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function mapDispatchToProps(dispatch: (action: Action & any) => void): IJudgeSelectDispatchProps {
|
|
75
|
-
return {
|
|
76
|
-
handleJudgeSelect: (option: Option) => {
|
|
77
|
-
dispatch(Creators.selectJudgeName({ judge: { name: option.value as string } }));
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export default connect(mapStateToProps, mapDispatchToProps)(JudgeSelect);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ICanaryMetricConfig } from 'kayenta/domain/ICanaryConfig';
|
|
2
|
-
import metricStoreConfigService from 'kayenta/metricStore/metricStoreConfig.service';
|
|
3
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { connect } from 'react-redux';
|
|
6
|
-
|
|
7
|
-
interface IMetricConfigurerDelegatorStateProps {
|
|
8
|
-
editingMetric: ICanaryMetricConfig;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/*
|
|
12
|
-
* Should find and render the appropriate metric configurer for a given metric store.
|
|
13
|
-
* */
|
|
14
|
-
function MetricConfigurerDelegator({ editingMetric }: IMetricConfigurerDelegatorStateProps) {
|
|
15
|
-
const config = metricStoreConfigService.getDelegate(editingMetric.query.type);
|
|
16
|
-
if (config && config.metricConfigurer) {
|
|
17
|
-
const MetricConfigurer = config.metricConfigurer;
|
|
18
|
-
return <MetricConfigurer />;
|
|
19
|
-
} else {
|
|
20
|
-
return <p>Metric configuration has not been implemented for {editingMetric.query.type}.</p>;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function mapStateToProps(state: ICanaryState): IMetricConfigurerDelegatorStateProps {
|
|
25
|
-
return {
|
|
26
|
-
editingMetric: state.selectedConfig.editingMetric,
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export default connect(mapStateToProps)(MetricConfigurerDelegator);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.metrics-action-buttons {
|
|
2
|
-
.link {
|
|
3
|
-
padding: 0 12px;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.metric-filter-options {
|
|
8
|
-
label {
|
|
9
|
-
font-weight: 600;
|
|
10
|
-
margin: 6px;
|
|
11
|
-
padding: 6px 12px;
|
|
12
|
-
border: 1px solid var(--color-divider);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.metric-fail-on-icon {
|
|
17
|
-
color: var(--color-warning);
|
|
18
|
-
&.critical {
|
|
19
|
-
color: var(--color-danger);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import classNames from 'classnames';
|
|
2
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
3
|
-
import { CanarySettings } from 'kayenta/canary.settings';
|
|
4
|
-
import { ICanaryMetricConfig } from 'kayenta/domain';
|
|
5
|
-
import { DISABLE_EDIT_CONFIG, DisableableButton } from 'kayenta/layout/disableable';
|
|
6
|
-
import { ITableColumn, NativeTable } from 'kayenta/layout/table';
|
|
7
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
8
|
-
import { cloneDeep } from 'lodash';
|
|
9
|
-
import * as React from 'react';
|
|
10
|
-
import { connect } from 'react-redux';
|
|
11
|
-
import { Action } from 'redux';
|
|
12
|
-
|
|
13
|
-
import { Tooltip } from '@spinnaker/core';
|
|
14
|
-
|
|
15
|
-
import ChangeMetricGroupModal from './changeMetricGroupModal';
|
|
16
|
-
|
|
17
|
-
import './metricList.less';
|
|
18
|
-
|
|
19
|
-
interface IMetricListStateProps {
|
|
20
|
-
selectedGroup: string;
|
|
21
|
-
metrics: ICanaryMetricConfig[];
|
|
22
|
-
showGroups: boolean;
|
|
23
|
-
changingGroupMetric: ICanaryMetricConfig;
|
|
24
|
-
groupList: string[];
|
|
25
|
-
metricStore: string;
|
|
26
|
-
disableEdit: boolean;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
interface IMetricListDispatchProps {
|
|
30
|
-
addMetric: (event: any) => void;
|
|
31
|
-
editMetric: (event: any) => void;
|
|
32
|
-
copyMetric: (metric: ICanaryMetricConfig) => void;
|
|
33
|
-
removeMetric: (event: any) => void;
|
|
34
|
-
openChangeMetricGroupModal: (event: any) => void;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function FailOn({ metric }: { metric: ICanaryMetricConfig }) {
|
|
38
|
-
const direction = metric.analysisConfigurations?.canary?.direction;
|
|
39
|
-
const isCritical = metric.analysisConfigurations?.canary?.critical;
|
|
40
|
-
const tooltipSuffix = isCritical ? '(critical — if this metric fails, the entire canary will fail)' : '';
|
|
41
|
-
const classes = classNames('metric-fail-on-icon', 'fas', 'sp-margin-xs-right', { critical: isCritical });
|
|
42
|
-
if (direction === 'decrease') {
|
|
43
|
-
return (
|
|
44
|
-
<Tooltip value={`decrease ${tooltipSuffix}`}>
|
|
45
|
-
<i className={`fa-caret-square-down ${classes}`} />
|
|
46
|
-
</Tooltip>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
if (direction === 'increase') {
|
|
50
|
-
return (
|
|
51
|
-
<Tooltip value={`increase ${tooltipSuffix}`}>
|
|
52
|
-
<i className={`fa-caret-square-up ${classes}`} />
|
|
53
|
-
</Tooltip>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
return (
|
|
57
|
-
<Tooltip value={`increase OR decrease ${tooltipSuffix}`}>
|
|
58
|
-
<span>
|
|
59
|
-
<i className={`fa-caret-square-down ${classes}`} />
|
|
60
|
-
<i className={`fa-caret-square-up ${classes}`} />
|
|
61
|
-
</span>
|
|
62
|
-
</Tooltip>
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Configures an entire list of metrics.
|
|
68
|
-
*/
|
|
69
|
-
function MetricList({
|
|
70
|
-
metrics,
|
|
71
|
-
groupList,
|
|
72
|
-
selectedGroup,
|
|
73
|
-
showGroups,
|
|
74
|
-
addMetric,
|
|
75
|
-
editMetric,
|
|
76
|
-
copyMetric,
|
|
77
|
-
removeMetric,
|
|
78
|
-
changingGroupMetric,
|
|
79
|
-
openChangeMetricGroupModal,
|
|
80
|
-
metricStore,
|
|
81
|
-
disableEdit,
|
|
82
|
-
}: IMetricListStateProps & IMetricListDispatchProps) {
|
|
83
|
-
const columns: Array<ITableColumn<ICanaryMetricConfig>> = [
|
|
84
|
-
{
|
|
85
|
-
label: 'Metric Name',
|
|
86
|
-
getContent: (metric) => <span>{metric.name || '(new)'}</span>,
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
label: 'Fail On',
|
|
90
|
-
getContent: (metric) => <FailOn metric={metric} />,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: 'Groups',
|
|
94
|
-
getContent: (metric) => <span>{metric.groups.join(', ')}</span>,
|
|
95
|
-
hide: () => !showGroups,
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
getContent: (metric) => (
|
|
99
|
-
<div className="horizontal pull-right metrics-action-buttons">
|
|
100
|
-
<button className="link" data-id={metric.id} onClick={editMetric}>
|
|
101
|
-
{disableEdit || CanarySettings.disableConfigEdit ? 'View' : 'Edit'}
|
|
102
|
-
</button>
|
|
103
|
-
<button
|
|
104
|
-
className="link"
|
|
105
|
-
data-id={metric.id}
|
|
106
|
-
disabled={disableEdit || CanarySettings.disableConfigEdit}
|
|
107
|
-
onClick={openChangeMetricGroupModal}
|
|
108
|
-
>
|
|
109
|
-
Move Group
|
|
110
|
-
</button>
|
|
111
|
-
<button
|
|
112
|
-
className="link"
|
|
113
|
-
data-id={metric.id}
|
|
114
|
-
disabled={disableEdit || CanarySettings.disableConfigEdit}
|
|
115
|
-
onClick={() => copyMetric(metric)}
|
|
116
|
-
>
|
|
117
|
-
Copy
|
|
118
|
-
</button>
|
|
119
|
-
<button
|
|
120
|
-
className="link"
|
|
121
|
-
data-id={metric.id}
|
|
122
|
-
disabled={disableEdit || CanarySettings.disableConfigEdit}
|
|
123
|
-
onClick={removeMetric}
|
|
124
|
-
>
|
|
125
|
-
Delete
|
|
126
|
-
</button>
|
|
127
|
-
</div>
|
|
128
|
-
),
|
|
129
|
-
},
|
|
130
|
-
];
|
|
131
|
-
|
|
132
|
-
return (
|
|
133
|
-
<>
|
|
134
|
-
<NativeTable columns={columns} rows={metrics} rowKey={(metric) => metric.id} className="header-white" />
|
|
135
|
-
{!metrics.length && selectedGroup ? (
|
|
136
|
-
<p>
|
|
137
|
-
This group is empty! The group will be not be present the next time the config is loaded unless it is saved
|
|
138
|
-
with at least one metric in it.
|
|
139
|
-
</p>
|
|
140
|
-
) : null}
|
|
141
|
-
{changingGroupMetric && <ChangeMetricGroupModal metric={changingGroupMetric} />}
|
|
142
|
-
<DisableableButton
|
|
143
|
-
className="passive self-left"
|
|
144
|
-
data-group={selectedGroup}
|
|
145
|
-
data-default={groupList[0]}
|
|
146
|
-
data-metric-store={metricStore}
|
|
147
|
-
onClick={addMetric}
|
|
148
|
-
disabled={CanarySettings.disableConfigEdit}
|
|
149
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
150
|
-
>
|
|
151
|
-
Add Metric
|
|
152
|
-
</DisableableButton>
|
|
153
|
-
</>
|
|
154
|
-
);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
function mapStateToProps(state: ICanaryState): IMetricListStateProps {
|
|
158
|
-
const selectedGroup = state.selectedConfig.group.selected;
|
|
159
|
-
const metricList = state.selectedConfig.metricList;
|
|
160
|
-
|
|
161
|
-
const filter = selectedGroup ? (metric: ICanaryMetricConfig) => metric.groups.includes(selectedGroup) : () => true;
|
|
162
|
-
return {
|
|
163
|
-
selectedGroup,
|
|
164
|
-
groupList: state.selectedConfig.group.list,
|
|
165
|
-
metrics: metricList.filter(filter),
|
|
166
|
-
showGroups: !selectedGroup || metricList.filter(filter).some((metric) => metric.groups.length > 1),
|
|
167
|
-
changingGroupMetric: state.selectedConfig.metricList.find(
|
|
168
|
-
(m) => m.id === state.selectedConfig.changeMetricGroup.metric,
|
|
169
|
-
),
|
|
170
|
-
metricStore: state.selectedConfig.selectedStore,
|
|
171
|
-
disableEdit: state.app.disableConfigEdit || CanarySettings.disableConfigEdit,
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
function mapDispatchToProps(dispatch: (action: Action & any) => void): IMetricListDispatchProps {
|
|
176
|
-
return {
|
|
177
|
-
addMetric: (event: any) => {
|
|
178
|
-
const group = event.target.dataset.group || event.target.dataset.default;
|
|
179
|
-
dispatch(
|
|
180
|
-
Creators.addMetric({
|
|
181
|
-
metric: {
|
|
182
|
-
// TODO: need to block saving an invalid name
|
|
183
|
-
// TODO: for Atlas metrics, attempt to gather name when query changes
|
|
184
|
-
id: '[new]',
|
|
185
|
-
analysisConfigurations: {},
|
|
186
|
-
name: '',
|
|
187
|
-
query: {
|
|
188
|
-
type: event.target.dataset.metricStore,
|
|
189
|
-
serviceType: event.target.dataset.metricStore,
|
|
190
|
-
},
|
|
191
|
-
groups: group ? [group] : [],
|
|
192
|
-
scopeName: 'default', // scopeName always defaults to `default` and is not configurable from the UI
|
|
193
|
-
isNew: true,
|
|
194
|
-
},
|
|
195
|
-
}),
|
|
196
|
-
);
|
|
197
|
-
},
|
|
198
|
-
copyMetric: (metric: ICanaryMetricConfig) => {
|
|
199
|
-
const metricCopy: ICanaryMetricConfig = cloneDeep(metric);
|
|
200
|
-
metricCopy.id = '[new]';
|
|
201
|
-
metricCopy.isNew = true;
|
|
202
|
-
metricCopy.name = '';
|
|
203
|
-
dispatch(Creators.addMetric({ metric: metricCopy }));
|
|
204
|
-
},
|
|
205
|
-
editMetric: (event: any) => {
|
|
206
|
-
dispatch(Creators.editMetricBegin({ id: event.target.dataset.id }));
|
|
207
|
-
},
|
|
208
|
-
removeMetric: (event: any) => {
|
|
209
|
-
dispatch(Creators.removeMetric({ id: event.target.dataset.id }));
|
|
210
|
-
},
|
|
211
|
-
openChangeMetricGroupModal: (event: any) => dispatch(Creators.changeMetricGroup({ id: event.target.dataset.id })),
|
|
212
|
-
};
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
export default connect(mapStateToProps, mapDispatchToProps)(MetricList);
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { CanarySettings } from 'kayenta/canary.settings';
|
|
3
|
-
import { KayentaAccountType } from 'kayenta/domain';
|
|
4
|
-
import { DISABLE_EDIT_CONFIG, DisableableSelect } from 'kayenta/layout/disableable';
|
|
5
|
-
import FormRow from 'kayenta/layout/formRow';
|
|
6
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
7
|
-
import { chain } from 'lodash';
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import { connect, Dispatch } from 'react-redux';
|
|
10
|
-
|
|
11
|
-
interface IMetricStoreSelectorStateProps {
|
|
12
|
-
stores: string[];
|
|
13
|
-
selectedStore: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface IMetricStoreSelectorDispatchProps {
|
|
17
|
-
select: (event: any) => void;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const MetricStoreSelector = ({
|
|
21
|
-
stores,
|
|
22
|
-
selectedStore,
|
|
23
|
-
select,
|
|
24
|
-
}: IMetricStoreSelectorDispatchProps & IMetricStoreSelectorStateProps) => {
|
|
25
|
-
if (stores.length < 2) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<FormRow label="Metric Store" inputOnly={true}>
|
|
31
|
-
<DisableableSelect
|
|
32
|
-
value={selectedStore || ''}
|
|
33
|
-
onChange={select}
|
|
34
|
-
className="form-control input-sm"
|
|
35
|
-
disabled={CanarySettings.disableConfigEdit}
|
|
36
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
37
|
-
>
|
|
38
|
-
{stores.map((s) => (
|
|
39
|
-
<option key={s} value={s}>
|
|
40
|
-
{s}
|
|
41
|
-
</option>
|
|
42
|
-
))}
|
|
43
|
-
</DisableableSelect>
|
|
44
|
-
</FormRow>
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const mapStateToProps = (state: ICanaryState): IMetricStoreSelectorStateProps => {
|
|
49
|
-
return {
|
|
50
|
-
stores: chain(state.data.kayentaAccounts.data)
|
|
51
|
-
.filter((account) => account.supportedTypes.includes(KayentaAccountType.MetricsStore))
|
|
52
|
-
.map((account) => account.metricsStoreType || account.type)
|
|
53
|
-
.uniq()
|
|
54
|
-
.sort()
|
|
55
|
-
.valueOf(),
|
|
56
|
-
selectedStore: state.selectedConfig.selectedStore,
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
const mapDispatchToProps = (dispatch: Dispatch<ICanaryState>): IMetricStoreSelectorDispatchProps => {
|
|
61
|
-
return {
|
|
62
|
-
select: (event: any) => dispatch(Creators.selectMetricStore({ store: event.target.value })),
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export default connect(mapStateToProps, mapDispatchToProps)(MetricStoreSelector);
|