Loki: Rename public/app/plugins/datasource/loki/language_utils.ts file to follow convention (#55181)

This commit is contained in:
GitStart 2022-09-16 12:18:37 +05:30 committed by GitHub
parent 6947e276d6
commit eb7fe07401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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';

View File

@ -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,

View File

@ -1,4 +1,4 @@
import { isBytesString } from './language_utils';
import { isBytesString } from './languageUtils';
describe('isBytesString', () => {
it('correctly matches bytes string with integers', () => {

View File

@ -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';

View File

@ -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';