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

[WIP] add prometheus from moolitayer/manageiq-providers-prometheus #15139

Closed
wants to merge 1 commit into from

Conversation

moolitayer
Copy link

@moolitayer moolitayer commented May 18, 2017

@moolitayer moolitayer changed the title add promtheus from moolitayer/manageiq-providers-prometheus [WIP] add promtheus from moolitayer/manageiq-providers-prometheus May 18, 2017
@moolitayer
Copy link
Author

@miq-bot add_label wip

@moolitayer
Copy link
Author

cc @simon3z

@chessbyte chessbyte changed the title [WIP] add promtheus from moolitayer/manageiq-providers-prometheus [WIP] add prometheus from moolitayer/manageiq-providers-prometheus May 18, 2017
@moolitayer
Copy link
Author

json_response.body

{"status"=>"success", "data"=>[{"labels"=>{"alertname"=>"Testing", "instance"=>"vm-48-124.eng.lab.tlv.redhat.com", "job"=>"kubernetes-nodes", "monitor"=>"codelab-monitor"}, "annotations"=>{"description"=>"a description", "summary"=>"a summary"}, "startsAt"=>"2017-05-18T03:31:37.804Z", "endsAt"=>"0001-01-01T00:00:00Z", "generatorURL"=>"http://prometheus-1161204464-n6zg0:9090/graph?g0.expr=process_cpu_seconds_total%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%2Cjob%3D%22kubernetes-nodes%22%7D+%3C+5609&g0.tab=0"}]}

A few responses:

{"status":"success","data":[{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"pull_image","quantile":"0.9"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-16T16:28:37.803Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"},{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"pull_image","quantile":"0.5"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-16T16:28:37.803Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"},{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"remove_container","quantile":"0.5"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-17T02:07:37.805Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"},{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"remove_container","quantile":"0.99"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-17T02:07:37.805Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"},{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"remove_container","quantile":"0.9"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-17T02:07:37.805Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"},{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"pull_image","quantile":"0.99"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-16T16:28:37.803Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"},{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"start_exec","quantile":"0.9"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-17T17:17:37.805Z","endsAt":"2017-05-17T17:21:37.805Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"},{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor","operation_type":"start_exec","quantile":"0.99"},"annotations":{"description":"","summary":"lots of requests for secrets. strange???"},"startsAt":"2017-05-17T16:43:37.805Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus-41083902-cdqfy:9090/graph?g0.expr=kubelet_docker_operations_latency_microseconds%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%7D+%3E+1296462\u0026g0.tab=0"}]}



#######

# {"status":"success","data":[{"labels":{"alertname":"Testing","instance":"vm-48-124.eng.lab.tlv.redhat.com","job":"kubernetes-nodes","monitor":"codelab-monitor"},"annotations":{"description":"a description","summary":"a summary"},"startsAt":"2017-05-17T23:24:37.804Z","endsAt":"2017-05-17T23:27:37.804Z","generatorURL":"http://prometheus-1161204464-e5li2:9090/graph?g0.expr=process_cpu_seconds_total%7Binstance%3D%22vm-48-124.eng.lab.tlv.redhat.com%22%2Cjob%3D%22kubernetes-nodes%22%7D+%3C+4615\u0026g0.tab=0"}]}

@miq-bot
Copy link
Member

miq-bot commented May 18, 2017

Checked commit moolitayer@54027ac with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@miq-bot
Copy link
Member

miq-bot commented May 31, 2017

This pull request is not mergeable. Please rebase and repush.

@moolitayer
Copy link
Author

Closing we went for a different direction
#15354

@moolitayer moolitayer closed this Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants