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

Add hookshot_ prefix on hookshot specific metrics #701

Merged
merged 8 commits into from
Apr 11, 2023

Conversation

justinbot
Copy link
Contributor

Ensures all metrics have a hookshot_ prefix and updates the included dashboards.
This includes the prom-client default metrics.

Fixes #699

@justinbot justinbot requested a review from a team as a code owner April 3, 2023 13:24
@justinbot justinbot self-assigned this Apr 3, 2023
Copy link
Contributor

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, two thoughts

src/Metrics.ts Outdated Show resolved Hide resolved
src/Metrics.ts Outdated Show resolved Hide resolved
@justinbot
Copy link
Contributor Author

I don't really know what this metrics docs check is doing :/

@Half-Shot
Copy link
Contributor

I don't really know what this metrics docs check is doing :/

Ah, we document all the metrics we provide and it requires you to manually run the script to update the docs when we change the metrics.

@justinbot justinbot requested a review from Half-Shot April 5, 2023 15:59
@justinbot justinbot changed the title Add hookshot_ prefix on all metrics Add hookshot_ prefix on hookshot specific metrics Apr 5, 2023
@justinbot justinbot enabled auto-merge (squash) April 11, 2023 16:55
@justinbot justinbot merged commit cafe05b into main Apr 11, 2023
@justinbot justinbot deleted the justinbot/metrics-prefix branch April 11, 2023 16:58
SpiritCroc added a commit to SpiritCroc/matrix-hookshot that referenced this pull request Apr 27, 2023
4.0.0 (2023-04-27)
==================

Features
--------

- Add support for specifying custom templates for feeds. ([\matrix-org#702](matrix-org#702))
- Use SQLite for file-based crypto stores by default, instead of Sled. ([\matrix-org#714](matrix-org#714))
- Notifications for RSS feed failures can now be toggled on and off. The feature is now **off** by default. ([\matrix-org#716](matrix-org#716))

Bugfixes
--------

- Fix mishandling of empty feed/item title tags. ([\matrix-org#708](matrix-org#708))
- Add information about GitHub App Installs in 'update' state on the oauth status page. ([\matrix-org#717](matrix-org#717))
- Fix cases of GitHub repos not being bridgable if the GitHub App had to be manually approved. ([\matrix-org#718](matrix-org#718))
- Switch to using Rust for parsing RSS feeds. ([\matrix-org#721](matrix-org#721))

Deprecations and Removals
-------------------------

- Add support for Node 20, and drop support for Node 16. ([\matrix-org#724](matrix-org#724))

Internal Changes
----------------

- Ensure all Hookshot specific metrics have a `hookshot_` prefix. ([\matrix-org#701](matrix-org#701))
- Update dependency used in Generic Webhook JS functions to fix a security flaw. ([\matrix-org#705](matrix-org#705))
- Switch to using Rust for parsing RSS feeds. ([\matrix-org#709](matrix-org#709))
- Update the README with a prettier set of features. ([\matrix-org#726](matrix-org#726))
- Update `yaml` dependency to `2.2.2` ([\matrix-org#728](matrix-org#728))

Conflicts:
	src/feeds/FeedReader.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All hookshot-specific metrics should start with hookshot_
2 participants