feat: add projects query#243
Merged
SuperQ merged 4 commits intoprometheus-community:masterfrom Oct 25, 2023
Merged
Conversation
21c19b4 to
89307f6
Compare
Contributor
Author
|
@SuperQ Could you take a look on this PR? |
420673d to
3621bfc
Compare
Signed-off-by: Filipe Andujar <filipeandujar@gmail.com>
3621bfc to
26fc30c
Compare
SuperQ
requested changes
Oct 11, 2023
Contributor
SuperQ
left a comment
There was a problem hiding this comment.
Can you update the README with an example use of the use and a link to the Google documentation related to what's possible in the query language?
Signed-off-by: Filipe Andujar <filipeandujar@gmail.com>
Signed-off-by: Filipe Andujar <filipeandujar@gmail.com>
Contributor
Author
|
@SuperQ can you review it again, please? Sorry for the delay |
SuperQ
reviewed
Oct 24, 2023
Signed-off-by: Filipe Andujar <filipeandujar@gmail.com>
|
Hi @SuperQ, |
Closed
Merged
SuperQ
added a commit
that referenced
this pull request
Mar 7, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new flag to initialization called google.projects.filter which allows the exporter to query projects on a GCP Organization using labels and fields.
Example:
I designed this to be a complement to the current projectID flag.
In my case, I have thousands of projects and that's why I wanted it to be flexible.