haivision / srt-prometheus-exporter Goto Github PK
View Code? Open in Web Editor NEWSRT Prometheus Exporter
License: Mozilla Public License 2.0
SRT Prometheus Exporter
License: Mozilla Public License 2.0
Before open source, this repository should be ready to take issues, feature requests and incoming pull requests.
To get ready to take the contribution, basic and general procedure and guideline should be provided by maintainers.
Coding Style should be provided to accept the PR as guideline.
We can refer to Google C++ Style Guideline, and if necessary we can define our own policy and rules.
Provide coding style guideline on top page.
Current documentation structure is too simple and difficult to find sections cz many sections are included in tutorial and development. It would be nice to add installation
section about supported platform and source code checkout, building so on. Then tutorial should be dedicated to the tutorial to run sample applications with more description, which currently it does not have almost no docs for this. besides as developer doc, we need to add sections like API, developer guide and so on.
Minor install procedure update, and this is part of Ubuntu 22.04
support reminder.
Currently it only supports Ubuntu 20.04 so that prometheus-cpp-dev
package cannot be installed from apt repository, given that tutorial explains and includes the procedure to build the prometheus-cpp-dev
from the source code.
When we support Ubuntu 22.04, we can install with following.
apt install -y prometheus-cpp-dev
Probably version dependency could be introduced, so that specific version might needs to be tagged.
Required Information
Description
Currently whatever the fixes are, workflow starts to build the images to make sure to compile process successfully completed.
But this is not required to change the documentation, it should avoid starting the build workflow if the PR is only targeted for documentation.
"Caller" and "listener" have special meaning in SRT. They are for different call modes, or roles in an SRT connection establishment.
But here in srt-exporter, in the samples and filter modes, what matters is whether the SRT user sends out data or receives in data.
To make less confusion, these words shold be replaced.
According to "Secure Reliable Transport Protocol Deployment Guide", module "Introduction to SRT", chapter "Basic SRT concepts", "source" and "destination" are more proper words to be used here.
srt_caller -> srt_source
srt_listener -> srt_destination
Double check if there is any conflict with new names.
I just realized that we did not put copyright in the header or implementation of each file. This should be addressed before disclosure.
Before making this public, we need to get to the license agreement with Haivision policy.
I think we can just replace https://github.com/Haivision/srt-prometheus-exporter/blob/master/LICENSE.md into https://github.com/Haivision/srt/blob/master/LICENSE since this library is fully depends on https://github.com/Haivision/srt?
It is really important for the software development to keep the consistency and stability to make sure there is no build break in mainline.
This must be required to support to guarantee that this repository can be built against target platform in mainline default branch.
Since this is current build tool and procedure in this repository, this needs to be discussed in details but it would be better to be ready before open source to avoid possible build break in the mainline.
W.I.P
Required Information
ubuntu:20.04
)Description
sample cannot be started because it cannot find the dynamic loading library according to the procedure.
root@tomoyafujita:~/docker_ws/SRT/srt-prometheus-exporter/sample# ./sample_app_srt_caller_c
./sample_app_srt_caller_c: error while loading shared libraries: libprometheus-cpp-pull.so.1.1: cannot open shared object file: No such file or directory
./sample_app_srt_caller_c
should be started w/o any error.
failed to start the execuable.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
should be set if we use /usr/local/lib
during sample explanation.
SRT Prometheus Exporter is dependent on prometheus-cpp, and install procedure tells git submodule init
to pull the dependent submodules, but it does not exist.
I believe this is the problems during transition from internal repository to publication.
This repository does not include extended SRT statistics property for SRT gstreamer element.
That is said it would be better to update or adjust the architecture diagram described in https://github.com/Haivision/srt-prometheus-exporter#motivation to be aligned with implementation design.
Currently Ubuntu 20.04 is only officially support, which has been 3 years already.
Adding support for Ubuntu 22.04 would be nice to have.
Ubuntu 22.04 Jammy Support
This needs to be done before #11
I'm sorry it maybe a stupid question..I tried to build the project,when I do:
cmake .. -DBUILD_SHARED_LIBS=ON
It errors like this:
CMake Error: The source directory "/Promethus/srt-prometheus-exporter" does not appear to contain CMakeLists.txt.
so maybe the source misses a file named"CMakeLists.txt"?
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.