Azure Monitor: Limit the log rows to 30000 (#93901)

* Limit the amount of rows to 30000

* Lint

* Remove unneeded goldenframe check

* Add feature toggle

* Update toggles

* Use rowLimit variable
This commit is contained in:
Andreas Christou
2024-10-24 14:32:09 +01:00
committed by GitHub
parent ef253c99d8
commit 2a65de8aaa
10 changed files with 128 additions and 7 deletions

View File

@@ -1548,6 +1548,13 @@ var (
Stage: FeatureStageExperimental,
Owner: grafanaObservabilityMetricsSquad,
},
{
Name: "azureMonitorDisableLogLimit",
Description: "Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default.",
Stage: FeatureStageGeneralAvailability,
Owner: grafanaPartnerPluginsSquad,
Expression: "false",
},
}
)

View File

@@ -206,3 +206,4 @@ pluginsSriChecks,experimental,@grafana/plugins-platform-backend,false,false,fals
unifiedStorageBigObjectsSupport,experimental,@grafana/search-and-storage,false,false,false
timeRangeProvider,experimental,@grafana/grafana-frontend-platform,false,false,false
prometheusUsesCombobox,experimental,@grafana/observability-metrics,false,false,false
azureMonitorDisableLogLimit,GA,@grafana/partner-datasources,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
206 unifiedStorageBigObjectsSupport experimental @grafana/search-and-storage false false false
207 timeRangeProvider experimental @grafana/grafana-frontend-platform false false false
208 prometheusUsesCombobox experimental @grafana/observability-metrics false false false
209 azureMonitorDisableLogLimit GA @grafana/partner-datasources false false false

View File

@@ -834,4 +834,8 @@ const (
// FlagPrometheusUsesCombobox
// Use new combobox component for Prometheus query editor
FlagPrometheusUsesCombobox = "prometheusUsesCombobox"
// FlagAzureMonitorDisableLogLimit
// Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default.
FlagAzureMonitorDisableLogLimit = "azureMonitorDisableLogLimit"
)

View File

@@ -605,6 +605,39 @@
"codeowner": "@grafana/aws-datasources"
}
},
{
"metadata": {
"name": "azureMonitorDisableLogLimit",
"resourceVersion": "1727698096407",
"creationTimestamp": "2024-09-30T11:51:51Z",
"deletionTimestamp": "2024-10-22T09:44:12Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-09-30 12:08:16.407109 +0000 UTC"
}
},
"spec": {
"description": "Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default.",
"stage": "GA",
"codeowner": "@grafana/partner-datasources",
"expression": "false"
}
},
{
"metadata": {
"name": "azureMonitorLogLimit",
"resourceVersion": "1727696791818",
"creationTimestamp": "2024-09-30T11:45:45Z",
"deletionTimestamp": "2024-09-30T11:51:51Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-09-30 11:46:31.818302 +0000 UTC"
}
},
"spec": {
"description": "Control the log limit restriction for Azure Monitor",
"stage": "GA",
"codeowner": "@grafana/partner-datasources"
}
},
{
"metadata": {
"name": "azureMonitorPrometheusExemplars",