Git Product home page Git Product logo

dialoginsight's People

Contributors

rrb3942 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

dialoginsight's Issues

Scraping data for shared or replicated profiles

Hello, thanks for a great little project - @recourse set me upon it and I think it is going to be very useful!

However some of the dialog profile names that I used are suffixed with /b and /s naming flags as per the documentation for marking binary replicated and shared dialog profiles here https://opensips.org/html/docs/modules/3.2.x/dialog.html

I notice that the scraper does indeed request these profiles and a response is received with the correct profile flag set (replicated:yes in this case) but the data does not end up in prometheus.

Check the request (from dialoginfo to opensips) for egress/b below

T 2023/09/12 12:29:48.258981 127.0.0.1:39022 -> 127.0.0.1:8888 [AP] #314
{"jsonrpc": "2.0", "id": "12360", "method": "profile_get_size", "params": ["egress/b"]}

T 2023/09/12 12:29:48.259047 127.0.0.1:8888 -> 127.0.0.1:39022 [AP] #316
HTTP/1.1 200 OK.
Connection: close.
Content-Length: 125.
Content-Type: application/json.
Date: Tue, 12 Sep 2023 11:29:48 GMT.
.
{"jsonrpc":"2.0","result":{"Profile":{"name":"egress","value":null,"count":0,"shared":"no","replicated":"yes"}},"id":"12360"}

Is this something I can solve with configuration somehow? If not, perhaps these could be exported with a naming convention of -b or -s into prometheus?

Thanks

Pete

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.