{"id":20136075,"url":"https://github.com/zkfmapf123/monitoring","last_synced_at":"2026-03-06T02:03:51.741Z","repository":{"id":186428337,"uuid":"674899157","full_name":"zkfmapf123/monitoring","owner":"zkfmapf123","description":"monitoring","archived":false,"fork":false,"pushed_at":"2023-08-06T01:36:08.000Z","size":893,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T09:38:24.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/zkfmapf123.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}},"created_at":"2023-08-05T05:20:57.000Z","updated_at":"2023-08-05T05:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"18b67743-312e-4e61-b796-87a430b46620","html_url":"https://github.com/zkfmapf123/monitoring","commit_stats":null,"previous_names":["zkfmapf123/monitoring"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fmonitoring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fmonitoring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fmonitoring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fmonitoring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkfmapf123","download_url":"https://codeload.github.com/zkfmapf123/monitoring/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582521,"owners_count":19985846,"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-13T21:17:37.399Z","updated_at":"2026-03-06T02:03:51.685Z","avatar_url":"https://github.com/zkfmapf123.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitoring\n\n## Metric 방식\n\n\u003e Push 방식\n\n![push](./public/push.png)\n\n```ts\napp.get('/', (req, res) =\u003e {\n  // ... service login\n  // ... send metric\n})\n```\n\n\u003e Pull 방식\n\n![pull](./public/pull.png)\n\n```yml\nglobal:\n  scrape_interval: 15s\n  evaluation_interval: 15s\n\n  external_loables:\n    monitor: 'my-project'\n\n    targets: 'localhost:8000'\n```\n\n## Monitoring use CloudWatch-Agent\n\n    - cloudwatch agent를 설치하여 해당 instnace의 대한 metric을 수집한다.\n    - logging, metric 을 json 파일로 구성하여 cloud-watch로 사용할 수 있다\n\n![cloudwatch](./public/cloudwatch.png)\n\n## Metric use Prometheus\n\n    - 시간별로 변환하는 데이터(time-series data)를 저장하고 수집\n    - 다차원 데이터를 다룬다. (use PromQL)\n    - 자체 local, s3, remote storage 방식의 저장방식을 설정할 수 있음\n    - push, pull 방식 모두 지원\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fmonitoring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkfmapf123%2Fmonitoring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fmonitoring/lists"}