coroot-node-agent
mtail
coroot-node-agent | mtail | |
---|---|---|
8 | 23 | |
275 | 3,747 | |
3.3% | 0.5% | |
8.3 | 9.1 | |
6 days ago | 9 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
coroot-node-agent
-
Infra mapping
Our product can do that. It's based on an eBPF Prometheus exporter and doesn't require manual integration.
-
Delay accounting: an underrated feature of the Linux kernel
Node-agent gathers per-TGID statistics from the kernel through the Netlink protocol and aggregates it to the per-container metrics:
- node-agent - an open-source Prometheus exporter based on eBPF that gathers comprehensive container metrics: log summaries, container-to-container network latency, cloud meta-information, etc.
-
How ping measures network round-trip time accurately using SO_TIMESTAMPING
While working on node-agent, we set out to measure network latency between containers and the services they communicate with. Since the agent has already discovered the endpoints that each container communicates with, we just need to measure network latency. We embedded "pinger" directly into the agent to measure end-to-end latency because the ICMP Echo requests should be sent from within the network namespace of each container.
-
Building a service map using eBPF
To address said disadvantages, we implemented eBPF-based container tracing which is a part of our open source Prometheus exporter node-agent. It passively monitors all TCP connections on a node, associates every connection with the related container, and exports metrics in Prometheus format:
-
Mining metrics from unstructured logs
At Coroot, we implemented an automated log parsing in our open-source Prometheus exporter node-agent. To explain how it works, let's follow the same steps as I mentioned above.
- Show HN: A Prometheus exporter that gathers сomprehensive containers' metrics
mtail
-
i need to visualize all logs from remote dir
You can do that with something like mtail. Basically write expressions that match your logs and produce metrics.
-
Tool to scrape (semi)-structured log files (e.g. log4j)
mtail is a standard tool for this.
-
Free netflow collector that forwards messages to a syslog server?
I use goflow2 to do something like this. I don't specifically use syslog itself for this, but mtail to generate the metrics.
-
How to easily gather IPv6 VS IPv4 usage on a web server?
I can recommend mtail. Here is a good example nginx script.
-
Nginx upstream_response_time average per API route?
If not, https://github.com/google/mtail might be a good option.
-
Sorting a custom metric by multiple labels
Count the lines with mtail. You can regexp match the values out into labels.
-
Alternatives to ELK (filebeat, logstash, kibana, elasticsearch)
If you want to extract whitebox metrics from logs, maybe all you need is mtail.
-
Prometheus Custom Query/Metric based on STDOUT
You can use mtail (https://github.com/google/mtail) for this. You'll need to figure out how to plug it into your setup, but mtail will do the metrics from logs thing.
-
open-source tools to monitor JSON logs for unexpected patterns?
Convert your logs to metrics with mtail.
-
Server metrics monitoring and reporting for centos?
For nginx, you'll need to setup a log parser like mtail because it doesn't really have much for metrics to begin with.
What are some alternatives?
klog - Leveled execution logs for Go (fork of https://github.com/golang/glog)
loki - Like Prometheus, but for logs.
loghub - A large collection of system log datasets for AI-driven log analytics [ISSRE'23]
prometheus-cpp - Prometheus Client Library for Modern C++
coroot-aws-agent - A prometheus exporter that gathers metrics from AWS services.
Sloth - Mac app that shows all open files, directories, sockets, pipes and devices in use by all running processes. Nice GUI for lsof.
omada_exporter - Prometheus Exporter for TP-Link Omada Controller SDN.
sloth - 🦥 Easy and simple Prometheus SLO (service level objectives) generator
scriggo - The world’s most powerful template engine and Go embeddable interpreter
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
node_exporter - Exporter for machine metrics
prometheus - The Prometheus monitoring system and time series database.