mroject / freeswitch_exporter Goto Github PK
View Code? Open in Web Editor NEWFreeSWITCH Exporter for Prometheus
License: MIT License
FreeSWITCH Exporter for Prometheus
License: MIT License
Hi,
i installed your latest Binary and just saw that you don't report the current version.
$ ./freeswitch_exporter --version
freeswitch_exporter
thx
stöge
maybe I'm missing something but I cant find a way for the exporter to not log at debug level.
Configure grafana to connect to 2 node Freeswitch Exporters
Freeswitch uses port 7021, pass eventsocket is TECH2024 and Freeswitch Exporter running on 9282
Server Grafana: 192.168.100.100
Server Freeswitch 1: 192.168.100.101
Server Freeswitch 2: 192.168.100.102
I have config target to
- targets:
- '103.72.97.156:7021'
- '119.82.130.69:7021'
How to relabel config to separate 2 instances for monitoring?
i got this error when accessing /metrics. I am using freeswitch 1.10.10
freeswitch-exporter | level=debug ts=2024-03-11T08:34:08.026Z caller=collector.go:613 [response]:="unsupported value type" freeswitch-exporter | level=debug ts=2024-03-11T08:34:08.028Z caller=collector.go:677 [response]:="unsupported value type" freeswitch-exporter | level=debug ts=2024-03-11T08:34:08.031Z caller=collector.go:645 [response]:="unsupported value type" freeswitch-exporter | 2024/03/11 08:34:08 vertoMetrics error: &rt EOF freeswitch-exporter | level=debug ts=2024-03-11T08:34:08.033Z caller=collector.go:709 [response]:="unsupported value type"
Hello!
Reaching out to see if there is an appetite for extending this exporter to support the use of scrape targets instead of running a 1-1 exporter per instance of freeswitch.
Right now (as I understand it), this exporter is written with the intent that you have a single Freeswitch instance that you are monitoring and to get metrics from more than one, you need to run multiple instances of the exporter.
As I've seen with a couple other exporters, there's a pattern to where Prometheus will send the host to scrape and the exporter simply goes and scrapes the requested target. This would allow for a single exporter instance to handle n
number of Freeswitch instances.
I'm happy to take the time to submit a PR for it, but figured I'd ask first :)
Thanks!
Hi,
The v1.0.4 release dropped the support for multi-target that was introduced in v1.0.2: 1.0.2...1.0.4#diff-2873f79a86c0d8b3335cd7731b0ecf7dd4301eb19a82ef7a1cba7589b5252261
I find no reference about this change in comments or release notes.
Was this a mistake, or was any issue identified around this implementation?
Thanks
curl http://localhost:9282/metrics - works fine
but http://localhost:9282/metrics ias URL in Data Sources gives error:
Error reading Prometheus: bad_response: readObjectStart: expect { or n, but found <, error found in #1 byte of ...|<html> <|..., bigger context ...|<html> <head><title>Node Exporter</title></head>|...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.