Grafana how to show ip for RTCP packets #596
Unanswered
boristh3blade
asked this question in
Q&A
Replies: 1 comment
-
@boristh3blade please submit a PR with the changes so we can review their impact |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have latest homer7 docker installation, i collect data via heplify agent from asterisk servers
![node_id](https://private-user-images.githubusercontent.com/49917738/240524782-4bccab51-7c0a-423d-95dc-9c9e151f49b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjgwNTYsIm5iZiI6MTczOTIyNzc1NiwicGF0aCI6Ii80OTkxNzczOC8yNDA1MjQ3ODItNGJjY2FiNTEtN2MwYS00MjNkLTk1ZGMtOWM5ZTE1MWY0OWI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIyNDkxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1ODU2NjQwMGU2MjM0YzgxMmY3M2ZiMTc2NjUzMDkyMDc4OWMwZTA3NDBlMTJiZjE1NGY3MGY5MWQ5NmRmNGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.T2k2qWIcQtjRXuymzZHEeYaSkQiBHYKl9Rcl36uBR0k)
it shows RTCP calls and i can filter it by node via {{node_id}}:
But cause i have a lot of connected phones to node I also want find what exactly call have trouble:
![node_id+cid](https://private-user-images.githubusercontent.com/49917738/240525527-ed1b57b3-fcf4-47db-a24f-fad8fd6e822f.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjgwNTYsIm5iZiI6MTczOTIyNzc1NiwicGF0aCI6Ii80OTkxNzczOC8yNDA1MjU1MjctZWQxYjU3YjMtZmNmNC00N2RiLWEyNGYtZmFkOGZkNmU4MjJmLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIyNDkxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyNjNhZjgzYjY5NDY1YjBjMTAxM2VjYTNjZDRkM2M3MmIyYTJlZmNjMTA5M2ZlYzkwZDRkMWIzNDcyMDg5ZDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.hPdWAaa2RN5v9ipnw1E_dagbWToFXGuql514rS23jcA)
To get this data i make such changes in metrics/prometeus.go file(original code commented):
Also to get srcIP, srcPort,dstIP,dstPort in Loki i update remotelog/loki.go :
So my question is, may be i miss something and exists simpler way for this ?
Cause now i need implement this changes in docker but im not very familiar with it.
Beta Was this translation helpful? Give feedback.
All reactions