Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP+1: RFD27 integration #2

Open
misterbisson opened this issue Oct 9, 2016 · 1 comment
Open

MVP+1: RFD27 integration #2

misterbisson opened this issue Oct 9, 2016 · 1 comment

Comments

@misterbisson
Copy link
Contributor

misterbisson commented Oct 9, 2016

RFD27/Container Monitor integration requires two things:

  1. TLS certs based on a user's SSH key
  2. Discovery of RFD27 endpoints

Authenticated requests

The proxy will utilize the same TLS based scheme as the official Prometheus agents. Customers existing SSH key(s) (the same key(s) used for accessing instances and sdc-docker) will be used.

The details of generating a TLS key from a Triton user's SSH key need further definition from @richardkiene.

Discovery

@richardkiene can add the details of discovery of RFD27 endpoints. It's possible that the best solution here is to develop a new Telegraf input plugin that integrates RFD27 endpoint discovery on top of the existing Prometheus input plugin.

@misterbisson misterbisson changed the title MVP+1 MVP+1: RFD27 integration Oct 9, 2016
@richardkiene
Copy link

richardkiene commented Oct 10, 2016

I don't want to get overly prescriptive about authenticated requests until I've worked out the kinks with Alex. However, the Prometheus TLS configuration section gives the basics. Also, I believe we can re-use the key and cert we generate for users when they setup sdc-docker access.

Discovery happens via CloudAPI and then knowledge of how the CNS CNAME is created (i.e. https://(container_uuid).cm.triton.zone:9163/metrics). There is a WIP Prometheus server plugin which handles discovery for the Prometheus server. Forwarders would need to follow this same pattern/logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants