Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion public/app/features/explore/Graph/GraphContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { ExploreGraph } from './ExploreGraph';
import { ExploreGraphLabel } from './ExploreGraphLabel';
import { loadGraphStyle } from './utils';

const MAX_NUMBER_OF_TIME_SERIES = 20;
let MAX_NUMBER_OF_TIME_SERIES = 20; // LOGZ.IO GRAFANA CHANGE

interface Props extends Pick<PanelChromeProps, 'statusMessage'> {
width: number;
Expand Down Expand Up @@ -65,6 +65,9 @@ export const GraphContainer = ({
const [showAllSeries, toggleShowAllSeries] = useToggle(false);
const [graphStyle, setGraphStyle] = useState(loadGraphStyle);
const styles = useStyles2(getStyles);
// LOGZ.IO GRAFANA CHANGE :: make the max number of time series bigger by FF. requested by rrk
const showMoreTimeSeries = (window as any).logzio?.configs?.featureFlags?.MaxNumberOfTimeSeriesBigger;
MAX_NUMBER_OF_TIME_SERIES = showMoreTimeSeries ? 500 : 20;

const onGraphStyleChange = useCallback((graphStyle: ExploreGraphStyle) => {
storeGraphStyle(graphStyle);
Expand Down