{"id":29960295,"url":"https://github.com/sap-cloud-infrastructure/maia","last_synced_at":"2025-08-03T22:36:30.563Z","repository":{"id":22389551,"uuid":"91986617","full_name":"SAP-cloud-infrastructure/maia","owner":"SAP-cloud-infrastructure","description":"Prometheus dressed as OpenStack service","archived":false,"fork":false,"pushed_at":"2025-07-24T19:09:04.000Z","size":11217,"stargazers_count":15,"open_issues_count":3,"forks_count":3,"subscribers_count":50,"default_branch":"master","last_synced_at":"2025-07-25T00:37:52.922Z","etag":null,"topics":["metrics","monitoring","monitoring-as-a-service","openstack","openstack-monitoring","openstack-services","prometheus","prometheus-proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP-cloud-infrastructure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-21T20:48:49.000Z","updated_at":"2025-07-24T19:09:08.000Z","dependencies_parsed_at":"2023-10-13T10:33:57.183Z","dependency_job_id":"878f0949-3a52-444e-a8cf-3c3741bb4d8f","html_url":"https://github.com/SAP-cloud-infrastructure/maia","commit_stats":null,"previous_names":["sap-cloud-infrastructure/maia"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/SAP-cloud-infrastructure/maia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-cloud-infrastructure%2Fmaia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-cloud-infrastructure%2Fmaia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-cloud-infrastructure%2Fmaia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-cloud-infrastructure%2Fmaia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-cloud-infrastructure","download_url":"https://codeload.github.com/SAP-cloud-infrastructure/maia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-cloud-infrastructure%2Fmaia/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268623960,"owners_count":24280145,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["metrics","monitoring","monitoring-as-a-service","openstack","openstack-monitoring","openstack-services","prometheus","prometheus-proxy"],"created_at":"2025-08-03T22:36:23.056Z","updated_at":"2025-08-03T22:36:30.549Z","avatar_url":"https://github.com/SAP-cloud-infrastructure.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2025 SAP SE or an SAP affiliate company\n\nSPDX-License-Identifier: Apache-2.0\n--\u003e\n\n# Maia\n\n[![CI](https://github.com/sapcc/maia/actions/workflows/ci.yaml/badge.svg)](https://github.com/sapcc/maia/actions/workflows/ci.yaml)\n\nMaia is a multi-tenant OpenStack-service for accessing metrics and alarms collected through Prometheus. It offers \na [Prometheus-compatible](https://prometheus.io/docs/querying/api/) API and supports federation.\n\nAt SAP we use it to share tenant-specific metrics from our Converged Cloud platform\nwith our users. For their convenience we included a CLI, so that metrics can be discovered and\nretrieved from shell scripts.\n\nIf you don't use OpenStack, you can still use Maia CLI as a feature-complete shell client for Prometheus. \n\n## Features\n\n- Multi-tenant Prometheus API offering isolation and resource restriction\n- Supports both project and domain-based authentication from OpenStack\n- **Global region support** for virtual region metric queries using global keystone authentication\n- Fetches required service endpoints from Keystone service catalog\n- JSON Web Token validation for the OpenStack Elektra UI\n\n[Maia Service](docs/operators-guide.md)\n\n* OpenStack Identity v3 authentication and authorization\n* Project- and domain-level access control (scoping)\n* Compatible to Grafana's Prometheus data source \n* Compatible to Prometheus API (read-only)\n* Supports secure federation to additional Prometheus instances\n\n[Maia UI](docs/users-guide.md#using-the-maia-ui)\n\n* Prometheus expression browser adapted to Maia\n* Browse projects and metrics\n* Perform ad-hoc PromQL queries\n* Graph metrics\n\n[Maia CLI](docs/users-guide.md#using-the-maia-client)\n\n* Feature-complete CLI supporting all API operations\n* JSON and Go-template-based output for reliable automation\n* Works with Prometheus, too (no OpenStack required)\n\n## Installation\n\nMaia can be built with Go 1.20. Older versions are not supported. Newer versions are not tested.\n\n### Binary Releases\n\nBinary releases for Linux and MacOS can be downloaded from the GitHub _releases_ area.\n\n### Installation with make\n\n* `make` to compile and run the binaries from the `build/` directory\n* `make \u0026\u0026 make install` to install to `/usr`\n* `make \u0026\u0026 make install PREFIX=/some/path` to install to `/some/path`\n* `make docker` to build the Docker image (set image name and tag with the `DOCKER_IMAGE` and `DOCKER_TAG` variables)\n\n## Using Maia\n\nMaia can be used via Web-UI or CLI.\n\nEnter `maia --help` to see a list of commands and options.\n\nPlease refer to the [Maia user guide](./docs/users-guide.md) for more instructions.\n\n## Operating Maia\n\nThe easiest way to deploy Maia as a service is Kubernetes.\n\nFeel free to reuse our [Maia helm chart](https://github.com/sapcc/helm-charts/tree/master/openstack/maia)\nwhich includes Maia, Prometheus and Thanos.\n\nFollow the [Maia operators guide](./docs/operators-guide.md) to learn how to setup the \nMaia service from scratch and integrate with Prometheus.\n\n## Integrating and Extending Maia\n\nThe [Maia developers guide](./docs/developers-guide.md) describes how to use the Maia API. Also\nit contains information how to contribute to the Maia development.\n\n## Support, Feedback, Contributing\n\nThis project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/creating-an-issue). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](https://github.com/SAP-cloud-infrastructure/.github/blob/main/CONTRIBUTING.md).\n\n## Security / Disclosure\n\nIf you find any bug that may be a security problem, please follow our instructions [in our security policy](https://github.com/SAP-cloud-infrastructure/.github/blob/main/SECURITY.md) on how to report it. Please do not create GitHub issues for security-related doubts or problems.\n\n## Code of Conduct\n\nWe as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/SAP-cloud-infrastructure/.github/blob/main/CODE_OF_CONDUCT.md) at all times.\n\n## Licensing\n\nCopyright 2017-2025 SAP SE or an SAP affiliate company and maia contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/sapcc/maia).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-cloud-infrastructure%2Fmaia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-cloud-infrastructure%2Fmaia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-cloud-infrastructure%2Fmaia/lists"}