Skip to content

tyb-talks/discourse-deprecation-collector

This branch is 20 commits ahead of, 53 commits behind discourse/discourse-deprecation-collector:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0fa3605 · Jul 22, 2024

History

39 Commits
Jul 22, 2024
Nov 29, 2023
Jan 3, 2024
Jan 3, 2024
Jul 2, 2024
Jul 22, 2024
Mar 14, 2024
Feb 29, 2024
Nov 28, 2023
Nov 28, 2023
Nov 28, 2023
Nov 28, 2023
Nov 28, 2023
Nov 29, 2023
Nov 28, 2023
May 28, 2024
Nov 28, 2023
Nov 28, 2023
Jul 22, 2024
Jul 22, 2024
Dec 29, 2023
Jul 22, 2024

Repository files navigation

discourse-deprecation-collector Plugin

This plugin will report JS deprecations to the server and increment prometheus metrics. It's designed to help hosting providers roll out breaking changes.

Requires the discourse-prometheus plugin to be installed.

Metric will be created with the name discourse_js_deprecation_count, and with two labels:

  • db indicates the relevant site in a multisite cluster
  • deprecation_id is the id of the discourse/ember deprecation

For a deprecation to be labelled correctly, its id needs to be added to the list in lib/deprecation_collector/list. Any unrecognised deprecations will be tracked against id=_other.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.5%
  • Ruby 45.5%