Flame Graph: Analyze with Grafana Assistant (#108684)
* Bare-bones mocked integration * Create correct context based on the query * Add data source name * Do not bundle grafana/assistant with flame graph * Rename component * Add tests * Mock grafana/assistant * Update feature toggle and allow hiding the button * Update deps * Update types * Update yarn.lock * Fix typo in feature toggle description * Enable grafanaAssistantInProfilesDrilldown by default * Enable grafanaAssistantInProfilesDrilldown by default * Show Analyze Flame Graph button only if there's context for the assistant
This commit is contained in:
@@ -1638,6 +1638,14 @@ var (
|
||||
Owner: grafanaObservabilityTracesAndProfilingSquad,
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "grafanaAssistantInProfilesDrilldown",
|
||||
Description: "Enables integration with Grafana Assistant in Profiles Drilldown",
|
||||
Stage: FeatureStageGeneralAvailability,
|
||||
Owner: grafanaObservabilityTracesAndProfilingSquad,
|
||||
FrontendOnly: true,
|
||||
Expression: "true",
|
||||
},
|
||||
{
|
||||
Name: "postgresDSUsePGX",
|
||||
Description: "Enables using PGX instead of libpq for PostgreSQL datasource",
|
||||
|
||||
@@ -213,6 +213,7 @@ localizationForPlugins,experimental,@grafana/plugins-platform-backend,false,fals
|
||||
unifiedNavbars,GA,@grafana/plugins-platform-backend,false,false,true
|
||||
logsPanelControls,preview,@grafana/observability-logs,false,false,true
|
||||
metricsFromProfiles,experimental,@grafana/observability-traces-and-profiling,false,false,true
|
||||
grafanaAssistantInProfilesDrilldown,GA,@grafana/observability-traces-and-profiling,false,false,true
|
||||
postgresDSUsePGX,experimental,@grafana/oss-big-tent,false,false,false
|
||||
tempoAlerting,experimental,@grafana/observability-traces-and-profiling,false,false,true
|
||||
pluginsAutoUpdate,experimental,@grafana/plugins-platform-backend,false,false,false
|
||||
|
||||
|
@@ -863,6 +863,10 @@ const (
|
||||
// Enables creating metrics from profiles and storing them as recording rules
|
||||
FlagMetricsFromProfiles = "metricsFromProfiles"
|
||||
|
||||
// FlagGrafanaAssistantInProfilesDrilldown
|
||||
// Enables integration with Grafana Assistant in Profiles Drilldown
|
||||
FlagGrafanaAssistantInProfilesDrilldown = "grafanaAssistantInProfilesDrilldown"
|
||||
|
||||
// FlagPostgresDSUsePGX
|
||||
// Enables using PGX instead of libpq for PostgreSQL datasource
|
||||
FlagPostgresDSUsePGX = "postgresDSUsePGX"
|
||||
|
||||
@@ -1472,6 +1472,37 @@
|
||||
"codeowner": "@grafana/plugins-platform-backend"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "grafanaAssistantInProfilesDrilldown",
|
||||
"resourceVersion": "1754572610001",
|
||||
"creationTimestamp": "2025-08-01T07:43:17Z",
|
||||
"annotations": {
|
||||
"grafana.app/updatedTimestamp": "2025-08-07 13:16:50.001205 +0000 UTC"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enables integration with Grafana Assistant in Profiles Drilldown",
|
||||
"stage": "GA",
|
||||
"codeowner": "@grafana/observability-traces-and-profiling",
|
||||
"frontend": true,
|
||||
"expression": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "grafanaAssistantInProfilesDrillfown",
|
||||
"resourceVersion": "1754034112469",
|
||||
"creationTimestamp": "2025-08-01T07:41:52Z",
|
||||
"deletionTimestamp": "2025-08-01T07:43:17Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enables interation with Grafana Assitant in Profiles Drilldown",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/observability-traces-and-profiling",
|
||||
"frontend": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "grafanaManagedRecordingRules",
|
||||
|
||||
Reference in New Issue
Block a user