Skip to content

[Bug fix] Metrics datasource #2171

[Bug fix] Metrics datasource

[Bug fix] Metrics datasource #2171

Triggered via pull request November 4, 2024 18:08
Status Success
Total duration 4m 30s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, lots0logs/gh-action-get-changed-files@2.2.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: public/components/metrics/index.tsx#L35
Unexpected any. Specify a different type
Lint: public/components/metrics/index.tsx#L35
Unexpected any. Specify a different type
Lint: public/components/metrics/index.tsx#L103
React Hook useMemo has a missing dependency: 'onSelectedDataSource'. Either include it or remove the dependency array
Lint: public/components/metrics/sidebar/sidebar.tsx#L72
React Hook useEffect has missing dependencies: 'dispatch', 'setSelectedDataSource', and 'setSelectedOTIndex'. Either include them or remove the dependency array. If 'setSelectedDataSource' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/metrics/sidebar/sidebar.tsx#L93
React Hook useEffect has missing dependencies: 'additionalMetric' and 'dispatch'. Either include them or remove the dependency array
Lint: public/components/metrics/sidebar/sidebar.tsx#L97
React Hook useMemo has an unnecessary dependency: 'dataSourceMDSId'. Either exclude it or remove the dependency array
Lint: public/components/metrics/sidebar/sidebar.tsx#L113
Unexpected any. Specify a different type
Lint: public/components/metrics/sidebar/sidebar.tsx#L139
React Hook useEffect has a missing dependency: 'dataSourceEnabled'. Either include it or remove the dependency array
Lint: public/components/metrics/sidebar/sidebar.tsx#L146
React Hook useMemo has missing dependencies: 'otelIndices' and 'setSelectedOTIndex'. Either include them or remove the dependency array
Lint: public/components/metrics/sidebar/sidebar.tsx#L153
React Hook useMemo has unnecessary dependencies: 'availableOTDocuments' and 'dataSourceMDSId'. Either exclude them or remove the dependency array