mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 17:06:57 -06:00
Loki: Rename public/app/plugins/datasource/loki/language_utils.ts file to follow convention (#55181)
This commit is contained in:
parent
6947e276d6
commit
eb7fe07401
@ -19,7 +19,7 @@ import {
|
||||
|
||||
import PromQlLanguageProvider from '../../prometheus/language_provider';
|
||||
import LokiLanguageProvider from '../LanguageProvider';
|
||||
import { escapeLabelValueInExactSelector, escapeLabelValueInRegexSelector } from '../language_utils';
|
||||
import { escapeLabelValueInExactSelector, escapeLabelValueInRegexSelector } from '../languageUtils';
|
||||
|
||||
// Hard limit on labels to render
|
||||
const MAX_LABEL_COUNT = 1000;
|
||||
|
@ -19,7 +19,7 @@ import { LocalStorageValueProvider } from 'app/core/components/LocalStorageValue
|
||||
|
||||
import LokiLanguageProvider from '../LanguageProvider';
|
||||
import { LokiDatasource } from '../datasource';
|
||||
import { escapeLabelValueInSelector, shouldRefreshLabels } from '../language_utils';
|
||||
import { escapeLabelValueInSelector, shouldRefreshLabels } from '../languageUtils';
|
||||
import { LokiQuery, LokiOptions } from '../types';
|
||||
|
||||
import { LokiLabelBrowser } from './LokiLabelBrowser';
|
||||
|
@ -49,7 +49,7 @@ import LanguageProvider from './LanguageProvider';
|
||||
import { LiveStreams, LokiLiveTarget } from './LiveStreams';
|
||||
import { transformBackendResult } from './backendResultTransformer';
|
||||
import { LokiAnnotationsQueryEditor } from './components/AnnotationsQueryEditor';
|
||||
import { escapeLabelValueInSelector } from './language_utils';
|
||||
import { escapeLabelValueInSelector } from './languageUtils';
|
||||
import { labelNamesRegex, labelValuesRegex } from './migrations/variableQueryMigrations';
|
||||
import {
|
||||
addLabelFormatToQuery,
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { isBytesString } from './language_utils';
|
||||
import { isBytesString } from './languageUtils';
|
||||
|
||||
describe('isBytesString', () => {
|
||||
it('correctly matches bytes string with integers', () => {
|
@ -15,7 +15,7 @@ import {
|
||||
} from 'app/plugins/datasource/prometheus/querybuilder/shared/types';
|
||||
|
||||
import { LokiDatasource } from '../../datasource';
|
||||
import { escapeLabelValueInSelector } from '../../language_utils';
|
||||
import { escapeLabelValueInSelector } from '../../languageUtils';
|
||||
import logqlGrammar from '../../syntax';
|
||||
import { lokiQueryModeller } from '../LokiQueryModeller';
|
||||
import { buildVisualQueryFromString } from '../parsing';
|
||||
|
@ -7,7 +7,7 @@ import { Select } from '@grafana/ui';
|
||||
import { getOperationParamId } from '../../../prometheus/querybuilder/shared/operationUtils';
|
||||
import { QueryBuilderOperationParamEditorProps } from '../../../prometheus/querybuilder/shared/types';
|
||||
import { LokiDatasource } from '../../datasource';
|
||||
import { isBytesString } from '../../language_utils';
|
||||
import { isBytesString } from '../../languageUtils';
|
||||
import { getLogQueryFromMetricsQuery, isValidQuery } from '../../query_utils';
|
||||
import { lokiQueryModeller } from '../LokiQueryModeller';
|
||||
import { LokiVisualQuery } from '../types';
|
||||
|
Loading…
Reference in New Issue
Block a user