mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Logs: Remove logsSampleInExplore feature toggle (#72092)
* Logs: Remove logsSampleInExplore feature toggle * Remove unused import * Fix incorrect import
This commit is contained in:
parent
5cd1541aee
commit
5bb280cb3f
@ -32,7 +32,6 @@ Some features are enabled by default. You can disable these feature by setting t
|
||||
| `accessTokenExpirationCheck` | Enable OAuth access_token expiration check and token refresh using the refresh_token | |
|
||||
| `emptyDashboardPage` | Enable the redesigned user interface of a dashboard page that includes no panels | Yes |
|
||||
| `disablePrometheusExemplarSampling` | Disable Prometheus exemplar sampling | |
|
||||
| `logsSampleInExplore` | Enables access to the logs sample feature in Explore | Yes |
|
||||
| `logsContextDatasourceUi` | Allow datasource to provide custom UI for context view | Yes |
|
||||
| `lokiQuerySplitting` | Split large interval queries into subqueries with smaller time intervals | Yes |
|
||||
| `prometheusMetricEncyclopedia` | Adds the metrics explorer component to the Prometheus query builder as an option in metric select | Yes |
|
||||
|
@ -60,7 +60,6 @@ export interface FeatureToggles {
|
||||
alertingBacktesting?: boolean;
|
||||
editPanelCSVDragAndDrop?: boolean;
|
||||
alertingNoNormalState?: boolean;
|
||||
logsSampleInExplore?: boolean;
|
||||
logsContextDatasourceUi?: boolean;
|
||||
lokiQuerySplitting?: boolean;
|
||||
lokiQuerySplittingConfig?: boolean;
|
||||
|
@ -285,15 +285,6 @@ var (
|
||||
RequiresRestart: false,
|
||||
Owner: grafanaAlertingSquad,
|
||||
},
|
||||
{
|
||||
|
||||
Name: "logsSampleInExplore",
|
||||
Description: "Enables access to the logs sample feature in Explore",
|
||||
Stage: FeatureStageGeneralAvailability,
|
||||
Expression: "true", // turned on by default
|
||||
FrontendOnly: true,
|
||||
Owner: grafanaObservabilityLogsSquad,
|
||||
},
|
||||
{
|
||||
Name: "logsContextDatasourceUi",
|
||||
Description: "Allow datasource to provide custom UI for context view",
|
||||
|
@ -41,7 +41,6 @@ disablePrometheusExemplarSampling,GA,@grafana/observability-metrics,false,false,
|
||||
alertingBacktesting,experimental,@grafana/alerting-squad,false,false,false,false
|
||||
editPanelCSVDragAndDrop,experimental,@grafana/grafana-bi-squad,false,false,false,true
|
||||
alertingNoNormalState,preview,@grafana/alerting-squad,false,false,false,false
|
||||
logsSampleInExplore,GA,@grafana/observability-logs,false,false,false,true
|
||||
logsContextDatasourceUi,GA,@grafana/observability-logs,false,false,false,true
|
||||
lokiQuerySplitting,GA,@grafana/observability-logs,false,false,false,true
|
||||
lokiQuerySplittingConfig,experimental,@grafana/observability-logs,false,false,false,true
|
||||
|
|
@ -175,10 +175,6 @@ const (
|
||||
// Stop maintaining state of alerts that are not firing
|
||||
FlagAlertingNoNormalState = "alertingNoNormalState"
|
||||
|
||||
// FlagLogsSampleInExplore
|
||||
// Enables access to the logs sample feature in Explore
|
||||
FlagLogsSampleInExplore = "logsSampleInExplore"
|
||||
|
||||
// FlagLogsContextDatasourceUi
|
||||
// Allow datasource to provide custom UI for context view
|
||||
FlagLogsContextDatasourceUi = "logsContextDatasourceUi"
|
||||
|
@ -559,9 +559,7 @@ export class Explore extends React.PureComponent<Props, ExploreState> {
|
||||
{showNodeGraph && <ErrorBoundaryAlert>{this.renderNodeGraphPanel()}</ErrorBoundaryAlert>}
|
||||
{showFlameGraph && <ErrorBoundaryAlert>{this.renderFlameGraphPanel()}</ErrorBoundaryAlert>}
|
||||
{showTrace && <ErrorBoundaryAlert>{this.renderTraceViewPanel()}</ErrorBoundaryAlert>}
|
||||
{config.featureToggles.logsSampleInExplore && showLogsSample && (
|
||||
<ErrorBoundaryAlert>{this.renderLogsSamplePanel()}</ErrorBoundaryAlert>
|
||||
)}
|
||||
{showLogsSample && <ErrorBoundaryAlert>{this.renderLogsSamplePanel()}</ErrorBoundaryAlert>}
|
||||
{showCustom && <ErrorBoundaryAlert>{this.renderCustom(width)}</ErrorBoundaryAlert>}
|
||||
{showNoData && <ErrorBoundaryAlert>{this.renderNoData()}</ErrorBoundaryAlert>}
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user