Reputation: 57
is it possible to create a GCP IAM user which has access only to a specific Google Monitoring dashboard? I figured it should be possible via conditional role bindings, but monitoring dashboards are not a supported resource.
Are there other ways to achieve this?
Upvotes: 2
Views: 1077
Reputation: 21517
As mentioned by @Kamelia Y, at this time such feature is not available yet and there is a Feature Request in the public tracker: https://issuetracker.google.com/147039227
There is not an available workaround for real-time separation of metrics.
However, a project owner can achieve this separation via exporting their metrics manually and sending the appropriate information to the appropriate user. Here are two examples of exporting Stackdriver Monitoring metrics using App Engine/PubSub [1] or using Colab/Monitoring API [2]. Both use BigQuery to query the data and Cloud Scheduler to automate exporting the information.
Upvotes: 2