Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New reporter: Grafana ? #3531

Closed
nvuillam opened this issue May 1, 2024 · 3 comments · Fixed by #3540
Closed

New reporter: Grafana ? #3531

nvuillam opened this issue May 1, 2024 · 3 comments · Fixed by #3540
Labels
enhancement New feature or request nostale This issue or pull request is not stale, keep it open

Comments

@nvuillam
Copy link
Member

nvuillam commented May 1, 2024

What if we could run MegaLinter daily on main branch, then send statitics by linters with number of errors etc... to Grafana (Loki push api ? I'm a newbie), so we could build nice dashboards showing the evolution in time of the technical debt of a project, even if it is related to linters not blocking for PRs ? :)

Just a thought, please comment to tell what you think of the idea ^^

cc @echoix @bdovaz @Kurt-von-Laven

@nvuillam nvuillam added the enhancement New feature or request label May 1, 2024
nvuillam added a commit that referenced this issue May 4, 2024
Copy link
Contributor

github-actions bot commented Jun 1, 2024

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jun 1, 2024
@nvuillam
Copy link
Member Author

nvuillam commented Jun 2, 2024

not stale at all ;)

@github-actions github-actions bot removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jun 3, 2024
Copy link
Contributor

github-actions bot commented Jul 3, 2024

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jul 3, 2024
@nvuillam nvuillam added nostale This issue or pull request is not stale, keep it open and removed O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity labels Jul 4, 2024
nvuillam added a commit that referenced this issue Aug 17, 2024
* New API Reporter for Http (ex: Grafana)

Fixes #3531

* Config variables

* API_REPORTER_DEBUG

* delete launch

* test

* Fix ApiReporter

* fix mypy

* fix gitpod

* Formatting

* Fix

* Use search_parent_directories=True to get Repo

* Revert "Use search_parent_directories=True to get Repo"

This reverts commit 379f67f.

* Murf

* Add skip-checkout: true

* Fix actionlint test case

* GO

* test case

* revert

* format

* trvy

* alpha action

* use ghcr

* fix identifiers & git stuff

* get repo name

* Fix github branch name

* Fix gitIdentifier

* check val

* Handle sfdx-hardis config format

* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

* Fix actionlint test case

* disable checkmake

* Fix actionlint

* Fix alpha

* test method for get_first_var_set

* Fix variable names

* Fix org identifier and add job url

* Start of metrics payload management

* Add metrics endpoint

* Lint fixes

* lint fix

* flake8

* fixes

* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

* Remove swiftlint deprecated --path argument

* Fix docker issues

* build

* Remove deprecated linters

  - CSS_SCSSLINT: [Project discontinued and advising to use stylelint](https://github.com/sds/scss-lint#notice-consider-other-tools-before-adopting-scss-lint)
  - OPENAPI_SPECTRAL: Replaced by API_SPECTRAL (same linter but more formats handled)

* Remove sqllint & dependencies

* changelog

* Add ApiReporter & grafana config in doc

* Update doc

* Test with Alpha

* Temp link to alpha from python flavor

* Fix :)

* cspell

* format md table

* Improve logs

* fix

* logs

* factorize

* Use api_metrics_url

* metrics_payload

* metrics format

* do not send metrics as json

* more metrics keys + docs

* Yeah

* cspell

* Doc

* format

* Rollback tests

* runner

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nostale This issue or pull request is not stale, keep it open
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant