8000 Access location of PaaS resource · Issue #234 · gridscale/gsclient-go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Access location of PaaS resource #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
berwaluk opened this issue May 10, 2024 · 1 comment
Open

Access location of PaaS resource #234

berwaluk opened this issue May 10, 2024 · 1 comment

Comments

@berwaluk
Copy link
Contributor

We are currently in the process of developing a Prometheus exporter to make our Gridscale cloud costs transparent. In the context of this exporter, among others, we expose the running PaaS resources as metrics by periodically scraping the Gridscale API. To be able to determine the cost of a resource, as far as I am aware, we need the products it's using via the product number and in which location it is running. Usages can be retrieved via the usage API, but, in contrast to other resource types, such as servers, PaaS resources do not seem to expose a location attribute via the API.

Is it viable to indirectly determine the location of the PaaS resource via the connected network, or is there another mechanism to retrieve this information from the API?

@fabiante
Copy link
Member

AFAIK PaaS services will always be part of the same location that their network is part of.

The broader reason for this is of course that PaaS services belong to a single project which in turn is locked to a single localtion.

Does that help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0