question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🔌 Plugin: Prometheus metrics + analytics plugin

See original GitHub issue

🔖 Summary

Hey, and thanks for this great open source project!

We’ve been developing two simple plugins in-house:

  1. A metrics plugin, exposing Prometheus metrics for Backstage and means for collecting arbitrary metrics
  2. An analytics plugin, feeding tracking data (views) to Backstage back-end and exposing this as metrics
# HELP app_name_page_views Counts page views
# TYPE app_name_page_views counter
app_name_page_views{page="/api-docs"} 2
app_name_page_views{page="/catalog/default/Group/some-team"} 1
app_name_page_views{page="/"} 5

We can then visualize this with the Prometheus visualizer from Backstage.

Question: Is this something you’d be interested in us open-sourcing / contributing back to backstage?

🌐 Project website (if applicable)

No response

✌️ Context

No response

👀 Have you spent some time to check if this plugin request has been raised before?

  • I checked and didn’t find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:3
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
aspiccommented, Nov 12, 2022

@awanlin will do! I guess more and more people are in that boat, and it’s very nice to avoid the “roundtrip” to google just to get some basic usage metrics!

0reactions
awanlincommented, Nov 12, 2022

@aspic, awesome! Tag me in it so I can keep track 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

CloudBees Prometheus Metrics plugin
The CloudBees Prometheus Metrics plugin collects: Basic system metrics, such as garbage collection, memory pools, class-loading, and thread counts.
Read more >
Prometheus metrics - Jenkins Plugins
Jenkins Prometheus Plugin expose an endpoint (default /prometheus ) with metrics where a Prometheus Server can scrape.
Read more >
prometheus - CoreDNS
With prometheus you export metrics from CoreDNS and any plugin that has them. The default location for the metrics is localhost:9153 .
Read more >
Prometheus plugin - Steampipe Hub
Prometheus is an open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern ...
Read more >
Prometheus plugin - Kong Docs
Metrics tracked by this plugin are available on both the Admin API and Status API at the http://localhost:<port>/metrics endpoint. Note that the URL...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found