An open-source solution for monitoring your metrics.
mMetric is a powerful, flexible tool designed to help you track and analyze various metrics in your projects. Whether you're monitoring performance, user engagement, or system health, mMetric provides the framework you need to collect, process, and visualize your data effectively.
- Coming soon!
public static ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
public static void main(String[] args) {
MetricAuth auth = new MetricAuth(
1, //Project id
"https://metrics.example.com/api/v1/metric", //Endpoint
"505aaYsoSXVDj7xPsQKAMyyL6DxirX8h" //Integration key
);
scheduler.scheduleAtFixedRate(() -> {
new MetricsPublisher(auth)
.addMetrics("version", "1.2.3")
.addMetrics("users", 150)
.addMetrics("session-time", 4.51)
.addMetrics("chrome-browser", true)
.publish();
}, 1, 2, TimeUnit.MINUTES);
}
Docker-Compose
# Coming soon!
Coming soon!
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes
- Submit a pull request