Skip to content

Instantly share code, notes, and snippets.

@ryanvazquez
Last active August 25, 2020 17:00
Show Gist options
  • Save ryanvazquez/0be2209f08fd77162cf3bd60cd44d672 to your computer and use it in GitHub Desktop.
Save ryanvazquez/0be2209f08fd77162cf3bd60cd44d672 to your computer and use it in GitHub Desktop.
Sample YAML config
cost-insights:
backendUrl: http://some-url.com
metrics:
mmau:
name: Cost per Million MAU
description: >
This description appears in the subheader
legend:
title: Spotify MAU
description: >
This description appears in the tooltip
msc:
name: Cost per Million Subscribers
description: >
This description appears in the subheader
legend:
title: Spotify MSC
description: >
This description appears in the tooltip
@ryanvazquez
Copy link
Author

cost-insights.metrics?. Defaults to daily cost data
cost-insights.metrics?.<metric>.name? Defaults to default metric name
cost-insights.metrics?.<metric>.description? Defaults to null. (No subheader displayed)
cost-insights.metrics?.<metric>.legend?
cost-insights.metrics?.<metric>.legend?.title? Defaults to metric.name
cost-insights.metrics?.<metric>.legend?.description? Defaults to null. (No tooltip displayed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment