@spinnaker/kayenta 2025.4.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,130 +0,0 @@
|
|
|
1
|
-
import autoBindMethods from 'class-autobind-decorator';
|
|
2
|
-
import { get } from 'lodash';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import * as ReactDOM from 'react-dom';
|
|
5
|
-
import { connect } from 'react-redux';
|
|
6
|
-
import { Action } from 'redux';
|
|
7
|
-
|
|
8
|
-
import { UPDATE_ATLAS_QUERY } from '../../actions/index';
|
|
9
|
-
import { CanarySettings } from '../../canary.settings';
|
|
10
|
-
import { ICanaryMetricConfig } from '../../domain/ICanaryConfig';
|
|
11
|
-
import { ICanaryState } from '../../reducers/index';
|
|
12
|
-
|
|
13
|
-
interface IAtlasMetricConfigurerStateProps {
|
|
14
|
-
editingMetric: ICanaryMetricConfig;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface IAtlasMetricConfigurerDispatchProps {
|
|
18
|
-
updateQuery: (event: any) => void;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
type IAtlasMetricConfigurerProps = IAtlasMetricConfigurerStateProps & IAtlasMetricConfigurerDispatchProps;
|
|
22
|
-
|
|
23
|
-
interface IAtlasMetricConfigurerState {
|
|
24
|
-
webComponent: Element;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface IAtlasQuerySelector {
|
|
28
|
-
class: string;
|
|
29
|
-
backends: string;
|
|
30
|
-
query: string;
|
|
31
|
-
hide: string;
|
|
32
|
-
ref: (webComponent: Element) => void;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface IChangeQueryStringEvent extends CustomEvent {
|
|
36
|
-
detail: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
if (CanarySettings.atlasWebComponentsUrl) {
|
|
40
|
-
// make React available to components
|
|
41
|
-
const global = window as any;
|
|
42
|
-
global['React'] = React;
|
|
43
|
-
global['ReactDOM'] = ReactDOM;
|
|
44
|
-
|
|
45
|
-
if (CanarySettings.atlasWebComponentsPolyfillUrl) {
|
|
46
|
-
const polyfillScript = document.createElement('script');
|
|
47
|
-
polyfillScript.src = CanarySettings.atlasWebComponentsPolyfillUrl;
|
|
48
|
-
document.head.appendChild(polyfillScript);
|
|
49
|
-
}
|
|
50
|
-
// download components; they will register when the script executes
|
|
51
|
-
const componentScript = document.createElement('script');
|
|
52
|
-
componentScript.src = CanarySettings.atlasWebComponentsUrl;
|
|
53
|
-
document.head.appendChild(componentScript);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// Add <atlas-query-selector> to the elements allowed in TSX, using the IAtlasQuerySelector interface.
|
|
57
|
-
declare global {
|
|
58
|
-
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
59
|
-
namespace JSX {
|
|
60
|
-
interface IntrinsicElements {
|
|
61
|
-
'atlas-query-selector': IAtlasQuerySelector;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const queryFinder = (metric: ICanaryMetricConfig) => get(metric, 'query.q', '');
|
|
67
|
-
|
|
68
|
-
/*
|
|
69
|
-
* Component for configuring an Atlas metric via the <atlas-query-selector> web component.
|
|
70
|
-
*/
|
|
71
|
-
@autoBindMethods
|
|
72
|
-
class AtlasMetricConfigurer extends React.Component<IAtlasMetricConfigurerProps, IAtlasMetricConfigurerState> {
|
|
73
|
-
constructor(props: IAtlasMetricConfigurerProps) {
|
|
74
|
-
super(props);
|
|
75
|
-
this.state = { webComponent: null };
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
private bindComponent(ref: Element) {
|
|
79
|
-
this.setState({ webComponent: ref });
|
|
80
|
-
if (ref) {
|
|
81
|
-
ref.addEventListener('change.queryString', (event: IChangeQueryStringEvent) => {
|
|
82
|
-
this.props.updateQuery(event.detail);
|
|
83
|
-
});
|
|
84
|
-
// This gets passed down to the inner React rendering beyond the web-component wrapper. Simply setting it in
|
|
85
|
-
// the render() method, it will not get passed to the web-component. Given that it doesn't change, why is it
|
|
86
|
-
// necessary? It seems to have something to do with the way React renders the component to the DOM; it triggers
|
|
87
|
-
// the web-component layer early, before the query is ready, and <atlas-query-selector> ignores all changes to
|
|
88
|
-
// the query after it's rendered. Adding a key after it's all set causes the inner React to re-render the
|
|
89
|
-
// component with the correct query.
|
|
90
|
-
ref.setAttribute('key', 'react');
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
public render() {
|
|
95
|
-
const editingMetric = this.props.editingMetric;
|
|
96
|
-
const query = queryFinder(editingMetric);
|
|
97
|
-
// TODO: select correct Atlas backend for app
|
|
98
|
-
const atlasBackend = 'https://atlas-global.prod.netflix.net';
|
|
99
|
-
return (
|
|
100
|
-
<atlas-query-selector
|
|
101
|
-
class="spinnaker-theme"
|
|
102
|
-
backends={atlasBackend}
|
|
103
|
-
hide="add_scope,comparison,timeOffset,lineStyle,des,trend,lineWidth,axis,color,alpha,multi"
|
|
104
|
-
query={query}
|
|
105
|
-
ref={this.bindComponent}
|
|
106
|
-
/>
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
function mapStateToProps(state: ICanaryState): IAtlasMetricConfigurerStateProps {
|
|
112
|
-
return {
|
|
113
|
-
editingMetric: state.selectedConfig.editingMetric,
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function mapDispatchToProps(dispatch: (action: Action & any) => void): IAtlasMetricConfigurerDispatchProps {
|
|
118
|
-
return {
|
|
119
|
-
updateQuery: (query: string): void => {
|
|
120
|
-
dispatch({
|
|
121
|
-
type: UPDATE_ATLAS_QUERY,
|
|
122
|
-
query,
|
|
123
|
-
});
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export default connect(mapStateToProps, mapDispatchToProps)(AtlasMetricConfigurer);
|
|
129
|
-
|
|
130
|
-
export { queryFinder };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import DatadogMetricConfigurer, { queryFinder } from './metricConfigurer';
|
|
2
|
-
import metricStoreConfigStore from '../metricStoreConfig.service';
|
|
3
|
-
|
|
4
|
-
metricStoreConfigStore.register({
|
|
5
|
-
name: 'datadog',
|
|
6
|
-
metricConfigurer: DatadogMetricConfigurer,
|
|
7
|
-
queryFinder,
|
|
8
|
-
useTemplates: true,
|
|
9
|
-
});
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { ICanaryMetricConfig } from 'kayenta/domain';
|
|
3
|
-
import FormRow from 'kayenta/layout/formRow';
|
|
4
|
-
import RadioChoice from 'kayenta/layout/radioChoice';
|
|
5
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
6
|
-
import { get } from 'lodash';
|
|
7
|
-
import * as React from 'react';
|
|
8
|
-
import { connect } from 'react-redux';
|
|
9
|
-
import { Option } from 'react-select';
|
|
10
|
-
import { Action } from 'redux';
|
|
11
|
-
|
|
12
|
-
import DatadogMetricTypeSelector from './metricTypeSelector';
|
|
13
|
-
|
|
14
|
-
interface IDatadogMetricConfigurerStateProps {
|
|
15
|
-
editingMetric: ICanaryMetricConfig;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface IDatadogMetricConfigurerDispatchProps {
|
|
19
|
-
changeMetricName: (agg: string, name: string) => void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type DatadogMetricConfigurerProps = IDatadogMetricConfigurerStateProps & IDatadogMetricConfigurerDispatchProps;
|
|
23
|
-
|
|
24
|
-
export const queryFinder = (metric: ICanaryMetricConfig) => get(metric, 'query.metricName', ':');
|
|
25
|
-
|
|
26
|
-
export const nameFinder = (metric: ICanaryMetricConfig) => queryFinder(metric).split(':', 2)[1];
|
|
27
|
-
export const aggFinder = (metric: ICanaryMetricConfig) => queryFinder(metric).split(':', 2)[0];
|
|
28
|
-
|
|
29
|
-
/*
|
|
30
|
-
* Component for configuring a Datadog metric.
|
|
31
|
-
* */
|
|
32
|
-
function DatadogMetricConfigurer({ changeMetricName, editingMetric }: DatadogMetricConfigurerProps) {
|
|
33
|
-
return (
|
|
34
|
-
<>
|
|
35
|
-
<FormRow label="Datadog Metric" inputOnly={true}>
|
|
36
|
-
<DatadogMetricTypeSelector
|
|
37
|
-
value={nameFinder(editingMetric)}
|
|
38
|
-
onChange={(option: Option<string>) => changeMetricName(aggFinder(editingMetric), get(option, 'value'))}
|
|
39
|
-
/>
|
|
40
|
-
</FormRow>
|
|
41
|
-
<FormRow label="Metric Aggregation">
|
|
42
|
-
<RadioChoice
|
|
43
|
-
value="avg"
|
|
44
|
-
label="Average"
|
|
45
|
-
name="aggregator"
|
|
46
|
-
current={aggFinder(editingMetric)}
|
|
47
|
-
action={() => changeMetricName('avg', nameFinder(editingMetric))}
|
|
48
|
-
/>
|
|
49
|
-
<RadioChoice
|
|
50
|
-
value="sum"
|
|
51
|
-
label="Sum"
|
|
52
|
-
name="aggregator"
|
|
53
|
-
current={aggFinder(editingMetric)}
|
|
54
|
-
action={() => changeMetricName('sum', nameFinder(editingMetric))}
|
|
55
|
-
/>
|
|
56
|
-
<RadioChoice
|
|
57
|
-
value="max"
|
|
58
|
-
label="Max"
|
|
59
|
-
name="aggregator"
|
|
60
|
-
current={aggFinder(editingMetric)}
|
|
61
|
-
action={() => changeMetricName('max', nameFinder(editingMetric))}
|
|
62
|
-
/>
|
|
63
|
-
<RadioChoice
|
|
64
|
-
value="min"
|
|
65
|
-
label="Min"
|
|
66
|
-
name="aggregator"
|
|
67
|
-
current={aggFinder(editingMetric)}
|
|
68
|
-
action={() => changeMetricName('min', nameFinder(editingMetric))}
|
|
69
|
-
/>
|
|
70
|
-
</FormRow>
|
|
71
|
-
</>
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function mapStateToProps(state: ICanaryState): IDatadogMetricConfigurerStateProps {
|
|
76
|
-
return {
|
|
77
|
-
editingMetric: state.selectedConfig.editingMetric,
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function mapDispatchToProps(dispatch: (action: Action & any) => void): IDatadogMetricConfigurerDispatchProps {
|
|
82
|
-
return {
|
|
83
|
-
changeMetricName: (agg: string, name: string): void => {
|
|
84
|
-
const metricName = agg + ':' + name;
|
|
85
|
-
dispatch(Creators.updateDatadogMetricName({ metricName }));
|
|
86
|
-
},
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export default connect(mapStateToProps, mapDispatchToProps)(DatadogMetricConfigurer);
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { mountWithState, mountWithStore } from 'enzyme-redux';
|
|
2
|
-
import * as Actions from 'kayenta/actions';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { connect } from 'react-redux';
|
|
5
|
-
import Select, { Option, ReactSelectProps } from 'react-select';
|
|
6
|
-
import { createMockStore } from 'redux-test-utils';
|
|
7
|
-
|
|
8
|
-
import { noop } from '@spinnaker/core';
|
|
9
|
-
|
|
10
|
-
import { DatadogMetricTypeSelector, mapDispatchToProps, mapStateToProps } from './metricTypeSelector';
|
|
11
|
-
|
|
12
|
-
describe('<DatadogMetricTypeSelector />', () => {
|
|
13
|
-
let Component: any;
|
|
14
|
-
let state: any;
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
state = {
|
|
18
|
-
data: {
|
|
19
|
-
metricsServiceMetadata: {
|
|
20
|
-
data: [
|
|
21
|
-
{
|
|
22
|
-
name: 'datadog.agent.running',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: 'datadog.trace_agent.heartbeat',
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
Component = connect(mapStateToProps, mapDispatchToProps)(DatadogMetricTypeSelector);
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
it('builds options from input descriptors', () => {
|
|
36
|
-
const component = mountWithState(<Component value="" onChange={noop} />, state);
|
|
37
|
-
const allProps: any = component.find(Select).first().props();
|
|
38
|
-
|
|
39
|
-
expect(allProps.options.map((o: Option) => o.value)).toEqual([
|
|
40
|
-
'datadog.agent.running',
|
|
41
|
-
'datadog.trace_agent.heartbeat',
|
|
42
|
-
]);
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
it('queries for metric descriptors on input change', () => {
|
|
46
|
-
const store = createMockStore(state);
|
|
47
|
-
const component = mountWithStore(<Component value="" onChange={noop} />, store);
|
|
48
|
-
|
|
49
|
-
const allProps: ReactSelectProps = component.find(Select).props();
|
|
50
|
-
allProps.onInputChange('heartbeat');
|
|
51
|
-
|
|
52
|
-
expect(
|
|
53
|
-
store.isActionDispatched({
|
|
54
|
-
type: Actions.UPDATE_DATADOG_METRIC_DESCRIPTOR_FILTER,
|
|
55
|
-
payload: { filter: 'heartbeat' },
|
|
56
|
-
}),
|
|
57
|
-
).toEqual(true);
|
|
58
|
-
});
|
|
59
|
-
});
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { DISABLE_EDIT_CONFIG, DisableableReactSelect } from 'kayenta/layout/disableable';
|
|
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
|
-
import { Option } from 'react-select';
|
|
8
|
-
import { Dispatch } from 'redux';
|
|
9
|
-
|
|
10
|
-
import { IDatadogMetricDescriptor } from './domain/IDatadogMetricDescriptor';
|
|
11
|
-
|
|
12
|
-
interface IDatadogMetricTypeSelectorDispatchProps {
|
|
13
|
-
load: (filter: string) => void;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface IDatadogMetricTypeSelectorStateProps {
|
|
17
|
-
options: Option[];
|
|
18
|
-
loading: boolean;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface IDatadogMetricTypeSelectorOwnProps {
|
|
22
|
-
value: string;
|
|
23
|
-
onChange: (option: Option) => void;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export const DatadogMetricTypeSelector = ({
|
|
27
|
-
loading,
|
|
28
|
-
load,
|
|
29
|
-
options,
|
|
30
|
-
value,
|
|
31
|
-
onChange,
|
|
32
|
-
}: IDatadogMetricTypeSelectorDispatchProps &
|
|
33
|
-
IDatadogMetricTypeSelectorStateProps &
|
|
34
|
-
IDatadogMetricTypeSelectorOwnProps) => {
|
|
35
|
-
if (value && options.every((o) => o.value !== value)) {
|
|
36
|
-
options = options.concat({ label: value, value });
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return (
|
|
40
|
-
<DisableableReactSelect
|
|
41
|
-
isLoading={loading}
|
|
42
|
-
options={options}
|
|
43
|
-
onChange={onChange}
|
|
44
|
-
value={value}
|
|
45
|
-
placeholder={'Enter at least three characters to search.'}
|
|
46
|
-
onInputChange={(input: string) => {
|
|
47
|
-
load(input);
|
|
48
|
-
return input;
|
|
49
|
-
}}
|
|
50
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
51
|
-
/>
|
|
52
|
-
);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export const mapStateToProps = (state: ICanaryState, ownProps: IDatadogMetricTypeSelectorOwnProps) => {
|
|
56
|
-
const descriptors = state.data.metricsServiceMetadata.data as IDatadogMetricDescriptor[];
|
|
57
|
-
const options: Option[] = descriptors.map((d) => ({ label: d.name, value: d.name }));
|
|
58
|
-
return {
|
|
59
|
-
options,
|
|
60
|
-
loading: state.data.metricsServiceMetadata.load === AsyncRequestState.Requesting,
|
|
61
|
-
...ownProps,
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const mapDispatchToProps = (dispatch: Dispatch<ICanaryState>) => {
|
|
66
|
-
return {
|
|
67
|
-
load: (filter: string) => {
|
|
68
|
-
dispatch(Creators.updateDatadogMetricDescriptorFilter({ filter }));
|
|
69
|
-
},
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export default connect(mapStateToProps, mapDispatchToProps)(DatadogMetricTypeSelector);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import GraphiteMetricConfigurer, { queryFinder } from './metricConfigurer';
|
|
2
|
-
import metricStoreConfigStore from '../metricStoreConfig.service';
|
|
3
|
-
|
|
4
|
-
metricStoreConfigStore.register({
|
|
5
|
-
name: 'graphite',
|
|
6
|
-
metricConfigurer: GraphiteMetricConfigurer,
|
|
7
|
-
queryFinder,
|
|
8
|
-
});
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { ICanaryMetricConfig } from 'kayenta/domain';
|
|
3
|
-
import FormRow from 'kayenta/layout/formRow';
|
|
4
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
5
|
-
import { get } from 'lodash';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import { connect } from 'react-redux';
|
|
8
|
-
import { Action } from 'redux';
|
|
9
|
-
|
|
10
|
-
import GraphiteMetricTypeSelector from './metricTypeSelector';
|
|
11
|
-
|
|
12
|
-
interface IGraphiteMetricConfigurerDispatchProps {
|
|
13
|
-
changeMetricName: (name: string) => void;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface IGraphiteMetricConfigurerStateProps {
|
|
17
|
-
editingMetric: ICanaryMetricConfig;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
type GraphiteMetricConfigurerProps = IGraphiteMetricConfigurerStateProps & IGraphiteMetricConfigurerDispatchProps;
|
|
21
|
-
|
|
22
|
-
export const queryFinder = (metric: ICanaryMetricConfig) => get(metric, 'query.metricName', '');
|
|
23
|
-
|
|
24
|
-
/*
|
|
25
|
-
* Component for configuring a Graphite metric.
|
|
26
|
-
* */
|
|
27
|
-
function GraphiteMetricConfigurer({ changeMetricName, editingMetric }: GraphiteMetricConfigurerProps) {
|
|
28
|
-
return (
|
|
29
|
-
<FormRow label="Graphite Metric" inputOnly={true}>
|
|
30
|
-
<GraphiteMetricTypeSelector
|
|
31
|
-
value={queryFinder(editingMetric)}
|
|
32
|
-
onChange={(option: string[]) => {
|
|
33
|
-
changeMetricName(option[0]);
|
|
34
|
-
}}
|
|
35
|
-
/>
|
|
36
|
-
</FormRow>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function mapStateToProps(state: ICanaryState): IGraphiteMetricConfigurerStateProps {
|
|
41
|
-
return {
|
|
42
|
-
editingMetric: state.selectedConfig.editingMetric,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function mapDispatchToProps(dispatch: (action: Action & any) => void): IGraphiteMetricConfigurerDispatchProps {
|
|
47
|
-
return {
|
|
48
|
-
changeMetricName: (metricName: string): void => {
|
|
49
|
-
dispatch(Creators.updateGraphiteMetricName({ metricName }));
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export default connect(mapStateToProps, mapDispatchToProps)(GraphiteMetricConfigurer);
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { DISABLE_EDIT_CONFIG, DisableableReactTypeahead } from 'kayenta/layout/disableable';
|
|
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
|
-
import { Dispatch } from 'redux';
|
|
8
|
-
|
|
9
|
-
import { IGraphiteMetricDescriptor } from './domain/IGraphiteMetricDescriptor';
|
|
10
|
-
|
|
11
|
-
import './typeahead.less';
|
|
12
|
-
|
|
13
|
-
interface IGraphiteMetricTypeSelectorDispatchProps {
|
|
14
|
-
load: (filter: string) => void;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface IGraphiteMetricTypeSelectorStateProps {
|
|
18
|
-
options: string[];
|
|
19
|
-
loading: boolean;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface IGraphiteMetricTypeSelectorOwnProps {
|
|
23
|
-
value: string;
|
|
24
|
-
onChange: (option: string[]) => void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export const GraphiteMetricTypeSelector = ({
|
|
28
|
-
loading,
|
|
29
|
-
load,
|
|
30
|
-
options,
|
|
31
|
-
value,
|
|
32
|
-
onChange,
|
|
33
|
-
}: IGraphiteMetricTypeSelectorDispatchProps &
|
|
34
|
-
IGraphiteMetricTypeSelectorStateProps &
|
|
35
|
-
IGraphiteMetricTypeSelectorOwnProps) => {
|
|
36
|
-
options = options.concat(value);
|
|
37
|
-
|
|
38
|
-
return (
|
|
39
|
-
<DisableableReactTypeahead
|
|
40
|
-
options={options}
|
|
41
|
-
isLoading={loading}
|
|
42
|
-
onChange={(option: string[]) => {
|
|
43
|
-
onChange(option);
|
|
44
|
-
load(option[0]);
|
|
45
|
-
}}
|
|
46
|
-
defaultInputValue={value}
|
|
47
|
-
renderMenuItemChildren={(option) => (
|
|
48
|
-
<a style={{ pointerEvents: 'all', textDecoration: 'none', color: '#000000' }}>{option}</a>
|
|
49
|
-
)}
|
|
50
|
-
placeholder={'Enter at least three characters to search.'}
|
|
51
|
-
onInputChange={(input) => {
|
|
52
|
-
onChange([input]);
|
|
53
|
-
load(input);
|
|
54
|
-
return input;
|
|
55
|
-
}}
|
|
56
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
57
|
-
/>
|
|
58
|
-
);
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export const mapStateToProps = (state: ICanaryState, ownProps: IGraphiteMetricTypeSelectorOwnProps) => {
|
|
62
|
-
const descriptors = state.data.metricsServiceMetadata.data as IGraphiteMetricDescriptor[];
|
|
63
|
-
const options: string[] = descriptors.map((d) => d.name);
|
|
64
|
-
|
|
65
|
-
return {
|
|
66
|
-
options,
|
|
67
|
-
loading: state.data.metricsServiceMetadata.load === AsyncRequestState.Requesting,
|
|
68
|
-
...ownProps,
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export const mapDispatchToProps = (dispatch: Dispatch<ICanaryState>) => {
|
|
73
|
-
return {
|
|
74
|
-
load: (filter: string) => {
|
|
75
|
-
dispatch(Creators.updateGraphiteMetricDescriptorFilter({ filter }));
|
|
76
|
-
},
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
export default connect(mapStateToProps, mapDispatchToProps)(GraphiteMetricTypeSelector);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ICanaryMetricConfig } from 'kayenta/domain';
|
|
2
|
-
import { buildDelegateService } from 'kayenta/service/delegateFactory';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
export interface IMetricStoreConfig {
|
|
6
|
-
name: string;
|
|
7
|
-
metricConfigurer: React.ComponentClass;
|
|
8
|
-
queryFinder: (metric: ICanaryMetricConfig) => string;
|
|
9
|
-
useTemplates?: boolean;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export default buildDelegateService<IMetricStoreConfig>();
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import NewRelicMetricConfigurer, { queryFinder } from './metricConfigurer';
|
|
2
|
-
import metricStoreConfigStore from '../metricStoreConfig.service';
|
|
3
|
-
|
|
4
|
-
metricStoreConfigStore.register({
|
|
5
|
-
name: 'newrelic',
|
|
6
|
-
metricConfigurer: NewRelicMetricConfigurer,
|
|
7
|
-
queryFinder,
|
|
8
|
-
});
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
2
|
-
import { ICanaryMetricConfig } from 'kayenta/domain';
|
|
3
|
-
import { DISABLE_EDIT_CONFIG, DisableableInput } from 'kayenta/layout/disableable';
|
|
4
|
-
import FormRow from 'kayenta/layout/formRow';
|
|
5
|
-
import { ICanaryState } from 'kayenta/reducers';
|
|
6
|
-
import { get } from 'lodash';
|
|
7
|
-
import * as React from 'react';
|
|
8
|
-
import { connect } from 'react-redux';
|
|
9
|
-
import { Action } from 'redux';
|
|
10
|
-
|
|
11
|
-
interface INewRelicMetricConfigurerStateProps {
|
|
12
|
-
editingMetric: ICanaryMetricConfig;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface INewRelicMetricConfigurerDispatchProps {
|
|
16
|
-
changeSelect: (event: any) => void;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
type INewRelicMetricConfigurerProps = INewRelicMetricConfigurerStateProps & INewRelicMetricConfigurerDispatchProps;
|
|
20
|
-
|
|
21
|
-
export const queryFinder = (metric: ICanaryMetricConfig) => get(metric, 'query.select', '');
|
|
22
|
-
|
|
23
|
-
/*
|
|
24
|
-
* Component for configuring a New Relic metric
|
|
25
|
-
*/
|
|
26
|
-
function NewRelicMetricConfigurer({ changeSelect, editingMetric }: INewRelicMetricConfigurerProps) {
|
|
27
|
-
return (
|
|
28
|
-
<>
|
|
29
|
-
<FormRow label="NRQL Select" inputOnly={true}>
|
|
30
|
-
<DisableableInput
|
|
31
|
-
type="text"
|
|
32
|
-
value={queryFinder(editingMetric)}
|
|
33
|
-
onChange={changeSelect}
|
|
34
|
-
disabledStateKeys={[DISABLE_EDIT_CONFIG]}
|
|
35
|
-
/>
|
|
36
|
-
<span className="body-small color-text-caption" style={{ marginTop: '5px' }}>
|
|
37
|
-
Enter the NRQL query only up to, but not including, the WHERE clause
|
|
38
|
-
</span>
|
|
39
|
-
</FormRow>
|
|
40
|
-
</>
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function mapStateToProps(state: ICanaryState): INewRelicMetricConfigurerStateProps {
|
|
45
|
-
return {
|
|
46
|
-
editingMetric: state.selectedConfig.editingMetric,
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function mapDispatchToProps(dispatch: (action: Action & any) => void): INewRelicMetricConfigurerDispatchProps {
|
|
51
|
-
return {
|
|
52
|
-
changeSelect: (event: any) => {
|
|
53
|
-
dispatch(Creators.updateNewRelicSelect({ select: event.target.value }));
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export default connect(mapStateToProps, mapDispatchToProps)(NewRelicMetricConfigurer);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ICanaryMetricSetQueryConfig } from 'kayenta/domain';
|
|
2
|
-
|
|
3
|
-
export interface IPrometheusCanaryMetricSetQueryConfig extends ICanaryMetricSetQueryConfig {
|
|
4
|
-
resourceType: string;
|
|
5
|
-
metricName: string;
|
|
6
|
-
labelBindings: string[];
|
|
7
|
-
groupByFields: string[];
|
|
8
|
-
queryType: PrometheusQueryType;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export enum PrometheusQueryType {
|
|
12
|
-
PROMQL = 'PROMQL',
|
|
13
|
-
DEFAULT = 'DEFAULT',
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ICanaryMetricConfig } from 'kayenta/domain/ICanaryConfig';
|
|
2
|
-
import { get } from 'lodash';
|
|
3
|
-
|
|
4
|
-
import PrometheusMetricConfigurer from './metricConfigurer';
|
|
5
|
-
import metricStoreConfigStore from '../metricStoreConfig.service';
|
|
6
|
-
|
|
7
|
-
metricStoreConfigStore.register({
|
|
8
|
-
name: 'prometheus',
|
|
9
|
-
metricConfigurer: PrometheusMetricConfigurer,
|
|
10
|
-
queryFinder: (metric: ICanaryMetricConfig) => get(metric, 'query.metricName', ''),
|
|
11
|
-
useTemplates: true,
|
|
12
|
-
});
|