Code Monkey home page Code Monkey logo

srt-prometheus-exporter's People

Contributors

fujitatomoya avatar jonasdlindner avatar maxsharabayko avatar windrow14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

srt-prometheus-exporter's Issues

Contribution Guide and Procedure

Overview

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.

What needs to be prepared?

[FR] Coding Style Guide Documentation

Feature request

Motivation

Coding Style should be provided to accept the PR as guideline.

Feature description

We can refer to Google C++ Style Guideline, and if necessary we can define our own policy and rules.

Implementation considerations

Provide coding style guideline on top page.

Documentation Restructure

Overview

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.

Install `prometheus-cpp-dev` package instead of building source code

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.

[BUG] build workflow should only start if the changes are relevant to the implementaion.

Bug Report

Required Information

  • Operating System:
    • Ubuntu 20.04
  • SRT Version / Commit ID
  • SRT Prometheus Exporter Commit ID

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.

[FR] "srt_caller"/"srt_listener" should be replaced by "srt_source"/"srt_destination"

Feature request

Motivation

"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.

Feature description

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

Implementation considerations

Double check if there is any conflict with new names.

Additional information

Support Github Workflow to avoid build break

Overall

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.

Description

W.I.P

[BUG] error while loading shared libraries: libprometheus-cpp-pull.so.1.1

Bug Report

Required Information

  • Operating System:
    • Ubuntu 20.04 (docker container image ubuntu:20.04)
  • SRT Version / Commit ID
    • v1.4.0 but any
  • SRT Prometheus Exporter Commit ID

Description

sample cannot be started because it cannot find the dynamic loading library according to the procedure.

Steps to reproduce the issue

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

Expected Behavior

./sample_app_srt_caller_c should be started w/o any error.

Actual Behavior

failed to start the execuable.

Additional information

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib should be set if we use /usr/local/lib during sample explanation.

[FR] Coding style checker and workflow integration

Feature request

Motivation

follow up of #20.
coding style needs to be checked by every single PR and commits to make sure incoming PRs are compatible with current development policy.

Feature description

We can rely on cpplint, and integrate it to github workflow.

[FR] Ubuntu 22.04 Jammy Support

Feature request

Motivation

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.

Feature description

Ubuntu 22.04 Jammy Support

Additional information

This needs to be done before #11

the CMAKE issue

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"?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.