Correlations: Create first version of correlations on app platform (#110843)

* WIP

* Generate API

* use different logging, change typing as recommended

* Add feature flag and only add to installer when enabled

* add codeowner

* Lint/fmt

* fix dockerfile

* move from UID to group/name reference

* add generated code

* change from enterprise build

* build workspace

* Remove deprecated field, build api, build for enterprise, build workspace

* Not sure what caused this..

* Rebuild?

* Fix this file

* update sdk

* update sdk

* fix workspace

* fix test build

* add to go.mod

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Kristina
2025-09-17 08:07:45 -05:00
committed by GitHub
co-authored by Ryan McKinley
parent 82e5019333
commit a6db37c2b7
35 changed files with 1516 additions and 5 deletions
+7
View File
@@ -483,6 +483,13 @@ var (
Owner: grafanaAlertingSquad,
RequiresRestart: true,
},
{
Name: "kubernetesCorrelations",
Description: "Adds support for Kubernetes correlations",
Stage: FeatureStageExperimental,
Owner: grafanaDataProSquad,
RequiresRestart: true,
},
{
Name: "dashboardDisableSchemaValidationV1",
Description: "Disable schema validation for dashboards/v1",
+1
View File
@@ -62,6 +62,7 @@ kubernetesDashboards,GA,@grafana/dashboards-squad,false,false,true
kubernetesShortURLs,experimental,@grafana/grafana-app-platform-squad,false,true,false
useKubernetesShortURLsAPI,experimental,@grafana/sharing-squad,false,false,true
kubernetesAlertingRules,experimental,@grafana/alerting-squad,false,true,false
kubernetesCorrelations,experimental,@grafana/datapro,false,true,false
dashboardDisableSchemaValidationV1,experimental,@grafana/grafana-app-platform-squad,false,false,false
dashboardDisableSchemaValidationV2,experimental,@grafana/grafana-app-platform-squad,false,false,false
dashboardSchemaValidationLogging,experimental,@grafana/grafana-app-platform-squad,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
62 kubernetesShortURLs experimental @grafana/grafana-app-platform-squad false true false
63 useKubernetesShortURLsAPI experimental @grafana/sharing-squad false false true
64 kubernetesAlertingRules experimental @grafana/alerting-squad false true false
65 kubernetesCorrelations experimental @grafana/datapro false true false
66 dashboardDisableSchemaValidationV1 experimental @grafana/grafana-app-platform-squad false false false
67 dashboardDisableSchemaValidationV2 experimental @grafana/grafana-app-platform-squad false false false
68 dashboardSchemaValidationLogging experimental @grafana/grafana-app-platform-squad false false false
+4
View File
@@ -259,6 +259,10 @@ const (
// Adds support for Kubernetes alerting and recording rules
FlagKubernetesAlertingRules = "kubernetesAlertingRules"
// FlagKubernetesCorrelations
// Adds support for Kubernetes correlations
FlagKubernetesCorrelations = "kubernetesCorrelations"
// FlagDashboardDisableSchemaValidationV1
// Disable schema validation for dashboards/v1
FlagDashboardDisableSchemaValidationV1 = "dashboardDisableSchemaValidationV1"
+13
View File
@@ -2031,6 +2031,19 @@
"hideFromDocs": true
}
},
{
"metadata": {
"name": "kubernetesCorrelations",
"resourceVersion": "1757513374180",
"creationTimestamp": "2025-09-10T14:09:34Z"
},
"spec": {
"description": "Adds support for Kubernetes correlations",
"stage": "experimental",
"codeowner": "@grafana/datapro",
"requiresRestart": true
}
},
{
"metadata": {
"name": "kubernetesDashboards",