Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

HNC: export from OpenCensus to Prometheus #416

Closed
adrianludwin opened this issue Feb 12, 2020 · 12 comments · Fixed by #432
Closed

HNC: export from OpenCensus to Prometheus #416

adrianludwin opened this issue Feb 12, 2020 · 12 comments · Fixed by #432
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Milestone

Comments

@adrianludwin
Copy link
Contributor

cc @rjbez17 @yiqigao217

As of #410, HNC is now able to exporting metrics to Stackdriver. It doesn't yet support Prometheus because:

  1. None of us HNC developers were able to install and configure Prometheus in a reasonable amount of time;
  2. We couldn't figure out how to get OpenCensus' Prometheus endpoint to play nicely with controller-runtime's Prometheus endpoint. Maybe we can expose them on different ports?

For anyone with Prometheus experience, it's probably fairly easy to fix this problem but we don't currently have the expertise to do it ourself.

/good-first-issue

@adrianludwin adrianludwin added this to the hnc-backlog milestone Feb 12, 2020
@k8s-ci-robot
Copy link
Contributor

@adrianludwin:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

cc @rjbez17 @yiqigao217

As of #410, HNC is now able to exporting metrics to Stackdriver. It doesn't yet support Prometheus because:

  1. None of us HNC developers were able to install and configure Prometheus in a reasonable amount of time;
  2. We couldn't figure out how to get OpenCensus' Prometheus endpoint to play nicely with controller-runtime's Prometheus endpoint. Maybe we can expose them on different ports?

For anyone with Prometheus experience, it's probably fairly easy to fix this problem but we don't currently have the expertise to do it ourself.

/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Feb 12, 2020
@rjbez17
Copy link

rjbez17 commented Feb 12, 2020

Sounds like I can actually be useful! I'll try to take a wack at this next week.

@yeya24
Copy link
Contributor

yeya24 commented Feb 12, 2020

@rjbez17 Hi, I think I can work on this issue this week. Is it okay?

@rjbez17
Copy link

rjbez17 commented Feb 12, 2020

I’ll never complain about someone doing work for me faster than me! Go for it

@yeya24
Copy link
Contributor

yeya24 commented Feb 17, 2020

I am checking this issue now. But I am wondering what metrics do we have currently? If we don't have any metrics except the metrics from controller-runtime, why we need to add Prometheus? @adrianludwin @rjbez17

@adrianludwin
Copy link
Contributor Author

adrianludwin commented Feb 18, 2020 via email

@yeya24
Copy link
Contributor

yeya24 commented Feb 18, 2020

@adrianludwin Hi, so you want to add the metrics from Stackdriver to the /metrics endpoint exposed by controller-runtime?

@adrianludwin
Copy link
Contributor Author

adrianludwin commented Feb 18, 2020 via email

@yeya24
Copy link
Contributor

yeya24 commented Feb 18, 2020

Yes, I have implemented this to use the same /metrics. But I am not familiar with StackDriver so I am not sure whether it works or not. I don't have an env for testing

@adrianludwin
Copy link
Contributor Author

adrianludwin commented Feb 18, 2020 via email

@yeya24
Copy link
Contributor

yeya24 commented Feb 18, 2020

PR opened, check #432

@adrianludwin
Copy link
Contributor Author

adrianludwin commented Feb 18, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants