Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Prometheus Basics | 1,413 | 2 years ago | 2 | mit | Go | |||||
A beginner friendly introduction to prometheus 🔥 | ||||||||||
Minecraft Prometheus Exporter | 329 | a month ago | 15 | mit | Java | |||||
A Bukkit plugin which exports minecraft server stats to Prometheus | ||||||||||
Dathttpd | 286 | 5 years ago | 18 | July 17, 2018 | 12 | mit | JavaScript | |||
Replaced by Homebase! See https://github.com/beakerbrowser/homebase. | ||||||||||
Moproxy | 201 | a month ago | 4 | mit | Rust | |||||
A transparent TCP to SOCKSv5/HTTP proxy on Linux written in Rust. | ||||||||||
Nextcloud Exporter | 169 | 8 days ago | 16 | October 19, 2022 | 4 | mit | Go | |||
Prometheus exporter for Nextcloud servers. | ||||||||||
Memcached_exporter | 159 | 1 | 4 days ago | 13 | March 08, 2023 | 3 | apache-2.0 | Go | ||
Exports metrics from memcached servers for consumption by Prometheus. | ||||||||||
Nats Surveyor | 158 | 12 days ago | 21 | March 15, 2023 | 14 | apache-2.0 | Go | |||
NATS Monitoring, Simplified. | ||||||||||
Promql Langserver | 153 | 4 months ago | 11 | March 02, 2022 | 21 | apache-2.0 | Go | |||
PromQL language server | ||||||||||
Heplify Server | 147 | 4 months ago | 8 | October 26, 2022 | 17 | agpl-3.0 | Go | |||
HEP Capture Server | ||||||||||
Squid Exporter | 101 | 24 days ago | 10 | February 25, 2022 | 2 | mit | Go | |||
Squid Prometheus Exporter |
Export Apollo server request information to Prometheus through prom-client.
import { ApolloServer } from "apollo-server-express";
import express from "express";
import { register } from "prom-client";
import createMetricsPlugin from "apollo-metrics";
async function start(): Promise<void> {
try {
const app = express();
app.get("/metrics", (_, res) => res.send(register.metrics());
const apolloMetricsPlugin = createMetricsPlugin(register);
const server = new ApolloServer({
plugins: [apolloMetricsPlugin],
// IMPORTANT: tracing needs to be enabled to get resolver and request timings!
tracing: true
});
server.applyMiddleware({ app, path: "/" });
app.listen(5000, () => console.log(`🚀 Service started`));
} catch (error) {
console.error("Failed to start!", error);
}
}
start();
MIT