{"id":20113410,"url":"https://github.com/cloudacademy/devops-intro-to-prometheus","last_synced_at":"2025-05-06T12:30:32.129Z","repository":{"id":46021769,"uuid":"313987067","full_name":"cloudacademy/devops-intro-to-prometheus","owner":"cloudacademy","description":"This repo contains scripts and infromation about the introduction to prometheus course.","archived":false,"fork":false,"pushed_at":"2020-12-15T01:32:38.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T12:20:50.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudacademy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-18T16:07:07.000Z","updated_at":"2024-01-25T14:11:41.000Z","dependencies_parsed_at":"2022-07-18T18:42:25.214Z","dependency_job_id":null,"html_url":"https://github.com/cloudacademy/devops-intro-to-prometheus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdevops-intro-to-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdevops-intro-to-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdevops-intro-to-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdevops-intro-to-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudacademy","download_url":"https://codeload.github.com/cloudacademy/devops-intro-to-prometheus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252683366,"owners_count":21788025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T18:24:20.808Z","updated_at":"2025-05-06T12:30:31.831Z","avatar_url":"https://github.com/cloudacademy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![icon for Prometheus](prometheus.png)\n\n# Intro-To-Prometheus\n\nThis course accompanies the Cloud Academy course 'Intro to Prometheus'\n\n[To the course!](https://www.example.com)\n\n## Start Here!\n\n### Requirements\n- curl\n- git\n- tar\n- bash \n  - tested and validated on bash version 5.0.17(1)-release\n- Ports open on localhost\n  - 9090 (Prometheus)\n  - 8080-8082 (Node Exporters)\n\nIf you want to get started with the examples shown in the course, clone this repo, and use the script(s) below to spin up a little prometheus environment with some Node Exporters!\n\n```\ngit clone https://github.com/cloudacademy/devops-intro-to-prometheus.git\ncd devops-intro-to-prometheus/scripts\nbash letsgo.bash\n```\n\nAfter the Script has completed, feel free to navigate to localhost:{9090,8080,8081,8082} to see all four services started. The Prometheus server is on localhost:9090\n\nAfter you're done, don't forget to clean up!\n\n```\nbash cleanup.bash\n```\n\n\n## Checking out the HTTP API - After Prometheus is Started\n\nAfter the above example is up and running, curl the API to see the nodes\n\n```\ncurl -g 'http://localhost:9090/api/v1/series?' --data-urlencode 'match[]=up' --data-urlencode 'match[]=process_start_time_seconds{job=\"prometheus\"}'\n```\nCurl the Label 'job' and the corresponding values\n\n```\ncurl http://localhost:9090/api/v1/label/job/values \n```\n\n## Resources for Prometheus Outside of Cloud Academy\n\n- Websites\n  - [Prometheus.io](https://prometheus.io/)\n  - [Prometheus Repo](https://github.com/prometheus/prometheus)\n- Podcast(s)\n  - [Kubernetes Podcast](https://kubernetespodcast.com/episode/037-prometheus-and-openmetrics/)\n- Community\n  - [Element](https://app.element.io/#/room/#prometheus:matrix.org)\n  - [Prometheus Google Group - ANNOUNCEMENTS ONLY](https://groups.google.com/g/prometheus-announce)\n  - [Prometheus User Google Group](https://groups.google.com/g/prometheus-users)\n  - [Twitter](https://twitter.com/PrometheusIO)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fdevops-intro-to-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudacademy%2Fdevops-intro-to-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fdevops-intro-to-prometheus/lists"}