{"id":23404730,"url":"https://github.com/vikash1596kumarkharwar/monitoring_using-prometheus-1","last_synced_at":"2026-05-04T10:33:29.304Z","repository":{"id":269015823,"uuid":"906162389","full_name":"VIKASH1596KUMARKHARWAR/monitoring_using-Prometheus-1","owner":"VIKASH1596KUMARKHARWAR","description":"monitoring the node.js application using the promotheus","archived":false,"fork":false,"pushed_at":"2024-12-20T10:02:45.000Z","size":3028,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T22:47:38.652Z","etag":null,"topics":["docker","docker-compose","node","promotheus","tyepscript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/VIKASH1596KUMARKHARWAR.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-20T09:45:53.000Z","updated_at":"2024-12-20T10:02:48.000Z","dependencies_parsed_at":"2024-12-20T10:40:05.143Z","dependency_job_id":"3b6a147d-4837-49fd-ab45-7eb1ace9e38d","html_url":"https://github.com/VIKASH1596KUMARKHARWAR/monitoring_using-Prometheus-1","commit_stats":null,"previous_names":["vikash1596kumarkharwar/monitoring_using-prometheus-1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VIKASH1596KUMARKHARWAR/monitoring_using-Prometheus-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VIKASH1596KUMARKHARWAR%2Fmonitoring_using-Prometheus-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VIKASH1596KUMARKHARWAR%2Fmonitoring_using-Prometheus-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VIKASH1596KUMARKHARWAR%2Fmonitoring_using-Prometheus-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VIKASH1596KUMARKHARWAR%2Fmonitoring_using-Prometheus-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VIKASH1596KUMARKHARWAR","download_url":"https://codeload.github.com/VIKASH1596KUMARKHARWAR/monitoring_using-Prometheus-1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VIKASH1596KUMARKHARWAR%2Fmonitoring_using-Prometheus-1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263176615,"owners_count":23425794,"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":["docker","docker-compose","node","promotheus","tyepscript"],"created_at":"2024-12-22T13:15:30.963Z","updated_at":"2026-05-04T10:33:29.245Z","avatar_url":"https://github.com/VIKASH1596KUMARKHARWAR.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus Overview\n\nPrometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. Since its inception in 2012, Prometheus has become a standalone open-source project and maintained independently by the Prometheus community.\n\n\n\n---\n\n## Getting Started with Prometheus\n\n### Running Prometheus in Docker\n\nTo run Prometheus in a Docker container, you can use either of the following methods:\n\n### 1. Docker Run Command\n\n```bash\ndocker run -p 9090:9090 -v ./prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus\n```\n---\n```bash \ndocker-compose up\n````\n----\n## Key Characteristics\n\n1. **Single Machine Operation**:\n   - Prometheus is designed to run on a single machine.\n   - It is not distributed in nature, meaning it cannot be horizontally scaled across multiple machines.\n   - Prometheus operates on a single load process.\n\n---\n\n## Main Features\n\nPrometheus offers robust monitoring and alerting features, including:\n\n- **Multi-Dimensional Data Model**:\n  - Time series data is identified by metric name and key-value pairs.\n\n- **PromQL**:\n  - A flexible query language designed to leverage the multi-dimensional data model.\n\n- **Autonomous Nodes**:\n  - Prometheus servers do not rely on distributed storage; each server node operates independently.\n\n- **Pull-Based Data Collection**:\n  - Time series collection is performed via a pull model over HTTP.\n\n- **Push Support**:\n  - Time series data can also be pushed using an intermediary gateway.\n\n- **Service Discovery**:\n  - Targets are discovered dynamically using service discovery or static configuration.\n\n- **Graphing and Dashboarding**:\n  - Prometheus supports multiple modes for graphing and creating dashboards.\n\n---\n\n## Types of Metrics in Prometheus\n\n### Counter\nA counter is a cumulative metric that only increases. It is typically used to count events or conditions over time.\n\n- **Example**: Counting the number of HTTP requests.\n\n### Gauge\nA gauge is a metric that can go up and down. It is often used to measure values that fluctuate.\n\n- **Example**: Measuring the current memory usage or the current number of active users.\n\n### Histogram\nA histogram samples observations (usually things like request durations or response sizes) and counts them in configurable buckets. It also provides a sum of all observed values. It's a cummulative type.\n\n- **Example**: Measuring the duration of HTTP requests.\n\n---\n\n## Limitations\n\n- **No Horizontal Scaling**:\n  - Prometheus cannot run on multiple machines simultaneously for a single data load process.\n\n---\n\n## Resources\n\nFor more information, visit the [official Prometheus documentation](https://prometheus.io/docs/introduction/overview/).\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikash1596kumarkharwar%2Fmonitoring_using-prometheus-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikash1596kumarkharwar%2Fmonitoring_using-prometheus-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikash1596kumarkharwar%2Fmonitoring_using-prometheus-1/lists"}