{"id":19056851,"url":"https://github.com/provectus/sak-prometheus","last_synced_at":"2026-05-11T18:30:18.701Z","repository":{"id":46722716,"uuid":"331708797","full_name":"provectus/sak-prometheus","owner":"provectus","description":"Prometheus \u0026 alertmanager \u0026 grafana module for SAK project","archived":false,"fork":false,"pushed_at":"2023-05-19T16:29:16.000Z","size":31,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":87,"default_branch":"master","last_synced_at":"2025-01-02T11:44:11.558Z","etag":null,"topics":["aws","devops","monitoring","open-source","prometheus","swiss-army-kube"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":false,"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/provectus.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":"2021-01-21T17:53:19.000Z","updated_at":"2022-07-07T11:26:35.000Z","dependencies_parsed_at":"2024-11-08T23:52:15.332Z","dependency_job_id":"bd798b39-1047-4538-9115-aefc79c688eb","html_url":"https://github.com/provectus/sak-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/provectus%2Fsak-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/provectus%2Fsak-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/provectus%2Fsak-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/provectus%2Fsak-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/provectus","download_url":"https://codeload.github.com/provectus/sak-prometheus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240113082,"owners_count":19749733,"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":["aws","devops","monitoring","open-source","prometheus","swiss-army-kube"],"created_at":"2024-11-08T23:52:07.128Z","updated_at":"2026-05-11T18:30:18.651Z","avatar_url":"https://github.com/provectus.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About this module\n\nThis module can install:\n### Prometheus: [Documentation](https://prometheus.io/docs/introduction/overview/)  \n### Grafana: [Documentation](https://grafana.com/docs/)  \n### Thanos. [Documentation](https://thanos.io/tip/thanos/getting-started.md/)  \n\n## How to change infrastructure\n\n * New namespace will be created (by default name \"monitoring\")\n * New 3 applications for ArgoCD (grafana, prometheus, thanos)\n * New ingress and dns records will be created (thanos.domain.name, grafana.domain.name). You can disable ingress if provide additional config (grafana_conf = {ingress.enabled = false} and thanos_conf = {queryFrontend.ingress.enabled = false}\n * If ingress is disabled, you can test locally by port-forwarding (example: kubectl port-forward grafana-pod 3000:3000)\n * By default, thanos backend will create s3 bucket \"\u003cdomain_name\u003e-thanos and IAM policy.\n## Prometheus\nInstall the [kube-prometheus](https://github.com/bitnami/charts/tree/master/bitnami/kube-prometheus), de-facto standard for monitoring.\n## Grafana\nInstall the [grafana](https://github.com/grafana/helm-charts/tree/main/charts/grafana), web dashboarding system\n## Thanos\nInstall the [thanos](https://github.com/bitnami/charts/tree/master/bitnami/thanos), long term storage capabilities for prometheus\n## Example\n``` hcl\nmodule \"prometheus\" {\n  depends_on      = [module.argocd]\n  source          = \"github.com/provectus/sak-prometheus\"\n  cluster_name    = module.eks.cluster_id\n  argocd          = module.argocd.state\n  domains         = local.domain\n  tags            = local.tags\n}\n```\n\nOptional parameters\n```\n  namespace               = \"moniroting\" # Set namespace to install all charts\n  thanos_enabled          = true # Enable install thanos application\n  grafana_enabled         = true # Enable install prometheus application\n  prometheus_enabled      = true # Enable install grafana application\n  thanos_storage          = \"s3\" # Object storage backend.\n  thanos_password         = \"password\" # Use as minio secret if thanos_storage = \"minio\"\n  grafana_password        = \"password\" # Set grafana admin password, autogenerate and store to paramstore if empty\n  grafana_google_auth     = true\n  grafana_client_id       = \"xxxxx\"\n  grafana_client_secret   = \"xxxxx\"\n  grafana_allowed_domains = \"example.com\"\n  thanos_conf             = {} # Additional thanos configurations\n  grafana_conf            = {} # Additional grafana configurations\n  prometheus_conf         = {} # Additional prometheus configurations\n```\n\n## Requirements\n\n```\nterraform \u003e= 1.1\n ```\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | \u003e= 3.0 |\n| helm | \u003e= 1.0 |\n| kubernetes | \u003e= 1.11 |\n| local | \u003e= 2.1.0 |\n| random | \u003e= 3.1.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| argocd | A set of values for enabling deployment through ArgoCD | `map(string)` | `{}` | no |\n| cluster\\_name | A name of the Amazon EKS cluster | `string` | `null` | no |\n| domains | A list of domains to use for ingresses | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"local\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| grafana\\_allowed\\_domains | Allowed domain for Grafana Google auth | `string` | `\"local\"` | no |\n| grafana\\_chart\\_version | A Grafana Chart version | `string` | `\"6.13.9\"` | no |\n| grafana\\_client\\_id | The id of the client for Grafana Google auth | `string` | `\"\"` | no |\n| grafana\\_client\\_secret | The token of the client for Grafana Google auth | `string` | `\"\"` | no |\n| grafana\\_conf | A custom configuration for deployment | `map(string)` | `{}` | no |\n| grafana\\_enabled | Enable install grafana | `bool` | `true` | no |\n| grafana\\_google\\_auth | Enables Google auth for Grafana | `string` | `false` | no |\n| grafana\\_password | Password for grafana admin | `string` | `\"\"` | no |\n| module\\_depends\\_on | A list of explicit dependencies | `list(any)` | `[]` | no |\n| namespace | A name of the existing namespace | `string` | `\"\"` | no |\n| namespace\\_name | A name of namespace for creating | `string` | `\"monitoring\"` | no |\n| prometheus\\_chart\\_version | A Prometheus Chart version | `string` | `\"6.1.1\"` | no |\n| prometheus\\_conf | A custom configuration for deployment | `map(string)` | `{}` | no |\n| prometheus\\_enabled | Enable install prometheus | `bool` | `true` | no |\n| tags | A tags for attaching to new created AWS resources | `map(string)` | `{}` | no |\n| thanos\\_chart\\_version | A Thanos Chart version | `string` | `\"5.1.0\"` | no |\n| thanos\\_conf | A custom configuration for deployment | `map(string)` | `{}` | no |\n| thanos\\_enabled | Enable install thanos | `bool` | `true` | no |\n| thanos\\_password | Password for thanos objstorage if thanos\\_storage minio | `string` | `\"\"` | no |\n| thanos\\_storage | The type of thanos object storage backend | `string` | `\"s3\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| path\\_to\\_grafana\\_password | A SystemManager ParemeterStore key with Grafana admin password |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprovectus%2Fsak-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprovectus%2Fsak-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprovectus%2Fsak-prometheus/lists"}