Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Get list of Dimensions and Metrics

Not applicable

I am using the below url to fetch dimensions and metrics

....v1/organizations/<org>/environments/<env>/analytics/admin/schemav2?type=fact

The question is: Really the metrics and dimensions vary based on the environments?

Solved Solved
0 4 333
1 ACCEPTED SOLUTION

Hi @balaji thilagar - I just tested this out so that we could make updates to the documentation if needed. Here's the deal:

  • Custom dimensions are indeed environment scoped. I just confirmed this with engineering. So if the Statistics Collector policy doesn't get invoked by a proxy deployed in the /test/ environment, that custom dimension won't show up in the management API response if you use /environments/test/.
  • HOWEVER, the custom dimension does show up in the Dimensions drop-down in custom reports regardless of environment. I suspect that's because the custom report definition UI is environment agnostic (you only get the environment choice when you run the report, not when you define it). So the UI must be getting custom dimensions from all environments.

So if you want a definitive list of all custom dimensions across all environments, look at the UI.

Hope that helps.

Thank you to @Chien-Wei Huang for the info!

View solution in original post

4 REPLIES 4