Tempo: Remove trace to metrics feature toggle (#82884)

* Remove trace to metrics feature toggle

* Fix after merge
This commit is contained in:
Joey 2024-02-22 13:30:41 +00:00 committed by GitHub
parent 2a1873f038
commit ee5dc14e17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 10 additions and 52 deletions

View File

@ -123,11 +123,6 @@ The following table describes the ways in which you can configure your trace to
### Trace to metrics
{{% admonition type="note" %}}
This feature is behind the `traceToMetrics` [feature toggle][configure-grafana-feature-toggles].
If you use Grafana Cloud, open a [support ticket in the Cloud Portal](/profile/org#support) to access this feature.
{{% /admonition %}}
The **Trace to metrics** setting configures the [trace to metrics feature](/blog/2022/08/18/new-in-grafana-9.1-trace-to-metrics-allows-users-to-navigate-from-a-trace-span-to-a-selected-data-source/) available when integrating Grafana with Jaeger.
To configure trace to metrics:

View File

@ -91,11 +91,6 @@ The following table describes the ways in which you can configure your trace to
## Trace to metrics
{{% admonition type="note" %}}
This feature is behind the `traceToMetrics` [feature toggle][configure-grafana-feature-toggles].
If you use Grafana Cloud, open a [support ticket in the Cloud Portal](/profile/org#support) to access this feature.
{{% /admonition %}}
The **Trace to metrics** setting configures the [trace to metrics feature](/blog/2022/08/18/new-in-grafana-9.1-trace-to-metrics-allows-users-to-navigate-from-a-trace-span-to-a-selected-data-source/) available when integrating Grafana with Tempo.
{{< youtube id="TkapvLeMMpc" >}}

View File

@ -121,11 +121,6 @@ The following table describes the ways in which you can configure your trace to
### Trace to metrics
{{% admonition type="note" %}}
This feature is behind the `traceToMetrics` [feature toggle][configure-grafana-feature-toggles].
If you use Grafana Cloud, open a [support ticket in the Cloud Portal](/profile/org/#support) to access this feature.
{{% /admonition %}}
The **Trace to metrics** setting configures the [trace to metrics feature](/blog/2022/08/18/new-in-grafana-9.1-trace-to-metrics-allows-users-to-navigate-from-a-trace-span-to-a-selected-data-source/) available when integrating Grafana with Zipkin.
To configure trace to metrics:

View File

@ -112,7 +112,6 @@ Experimental features might be changed or removed without prior notice.
| `lokiExperimentalStreaming` | Support new streaming approach for loki (prototype, needs special loki build) |
| `storage` | Configurable storage for dashboards, datasources, and resources |
| `datasourceQueryMultiStatus` | Introduce HTTP 207 Multi Status for api/ds/query |
| `traceToMetrics` | Enable trace to metrics links |
| `canvasPanelNesting` | Allow elements nesting |
| `scenes` | Experimental framework to build interactive dashboards |
| `disableSecretsCompatibility` | Disable duplicated secret storage in legacy tables |

View File

@ -31,7 +31,6 @@ export interface FeatureToggles {
correlations?: boolean;
exploreContentOutline?: boolean;
datasourceQueryMultiStatus?: boolean;
traceToMetrics?: boolean;
autoMigrateOldPanels?: boolean;
autoMigrateGraphPanel?: boolean;
autoMigrateTablePanel?: boolean;

View File

@ -108,13 +108,6 @@ var (
Stage: FeatureStageExperimental,
Owner: grafanaPluginsPlatformSquad,
},
{
Name: "traceToMetrics",
Description: "Enable trace to metrics links",
Stage: FeatureStageExperimental,
FrontendOnly: true,
Owner: grafanaObservabilityTracesAndProfilingSquad,
},
{
Name: "autoMigrateOldPanels",
Description: "Migrate old angular panels to supported versions (graph, table-old, worldmap, etc)",

View File

@ -12,7 +12,6 @@ storage,experimental,@grafana/grafana-app-platform-squad,false,false,false
correlations,GA,@grafana/explore-squad,false,false,false
exploreContentOutline,GA,@grafana/explore-squad,false,false,true
datasourceQueryMultiStatus,experimental,@grafana/plugins-platform-backend,false,false,false
traceToMetrics,experimental,@grafana/observability-traces-and-profiling,false,false,true
autoMigrateOldPanels,preview,@grafana/dataviz-squad,false,false,true
autoMigrateGraphPanel,preview,@grafana/dataviz-squad,false,false,true
autoMigrateTablePanel,preview,@grafana/dataviz-squad,false,false,true

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
12 correlations GA @grafana/explore-squad false false false
13 exploreContentOutline GA @grafana/explore-squad false false true
14 datasourceQueryMultiStatus experimental @grafana/plugins-platform-backend false false false
traceToMetrics experimental @grafana/observability-traces-and-profiling false false true
15 autoMigrateOldPanels preview @grafana/dataviz-squad false false true
16 autoMigrateGraphPanel preview @grafana/dataviz-squad false false true
17 autoMigrateTablePanel preview @grafana/dataviz-squad false false true

View File

@ -59,10 +59,6 @@ const (
// Introduce HTTP 207 Multi Status for api/ds/query
FlagDatasourceQueryMultiStatus = "datasourceQueryMultiStatus"
// FlagTraceToMetrics
// Enable trace to metrics links
FlagTraceToMetrics = "traceToMetrics"
// FlagAutoMigrateOldPanels
// Migrate old angular panels to supported versions (graph, table-old, worldmap, etc)
FlagAutoMigrateOldPanels = "autoMigrateOldPanels"

View File

@ -1394,7 +1394,8 @@
"metadata": {
"name": "traceToMetrics",
"resourceVersion": "1708108588074",
"creationTimestamp": "2024-02-16T18:36:28Z"
"creationTimestamp": "2024-02-16T18:36:28Z",
"deletionTimestamp": "2024-02-16T10:09:14Z"
},
"spec": {
"description": "Enable trace to metrics links",
@ -2125,4 +2126,4 @@
}
}
]
}
}

View File

@ -33,15 +33,10 @@ export const ConfigEditor = ({ options, onOptionsChange }: Props) => {
/>
<TraceToLogsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
{config.featureToggles.traceToMetrics ? (
<>
<TraceToMetricsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
</>
) : null}
<TraceToMetricsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
<ConfigSection
title="Additional settings"

View File

@ -53,14 +53,10 @@ export const ConfigEditor = ({ options, onOptionsChange }: Props) => {
<Divider spacing={4} />
<TraceToLogsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
{config.featureToggles.traceToMetrics ? (
<>
<TraceToMetricsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
</>
) : null}
<TraceToMetricsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
<TraceToProfilesSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />

View File

@ -31,15 +31,10 @@ export const ConfigEditor = ({ options, onOptionsChange }: Props) => {
/>
<TraceToLogsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
{config.featureToggles.traceToMetrics ? (
<>
<TraceToMetricsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
</>
) : null}
<TraceToMetricsSection options={options} onOptionsChange={onOptionsChange} />
<Divider spacing={4} />
<ConfigSection
title="Additional settings"