Estimating your Stackdriver bills

The information on this page applies to the current Stackdriver pricing.

Overview

Based on your Stackdriver usage data, you can estimate your Stackdriver bills.

The Cloud Billing Reports page, as well as the Logging, Monitoring, and Trace consoles, show you your current usage data. In addition, the Logging and Monitoring consoles display your projected usage data for the current month.

This page details how to access your usage data, depending on the aggregation that you prefer:

Use Stackdriver usage data to estimate your bill

Once you have the usage data you want, as described on this page, you can estimate your future bill in two ways:

  • Refer to the Stackdriver pricing overview: Compare your current usage data with the prices found in this table to get a reasonable approximation of your future Stackdriver bills.

  • Use the Stackdriver pricing calculator:

    1. Add your current or projected Monitoring usage data to the Metrics section and click Add to estimate.
    2. Add your current or projected Logging usage data to the Logs section and click Add to estimate.
    3. Add your current Trace usage data to the Trace spans section and click Add to estimate.
    4. Once you have input your usage data, click Estimate.

      Estimates of your future Stackdriver bills appear. You can also Email Estimate or Save Estimate.

View Stackdriver usage by billing account

  1. From anywhere in the GCP Console, click Navigation menu and select Billing.
  2. If you have more than one billing account, select Go to linked billing account to view the current project's billing account. To locate a different billing account, select Manage billing accounts and choose the account for which you'd like to get usage reports.
  3. Select Reports.
  4. Select Group By > SKU. This menu might be hidden; you can access it by clicking Show Filters.
  5. From the SKUs drop-down list, make the following selections:

    1. Log Volume (Stackdriver Logging usage)
    2. Spans Ingested (Stackdriver Trace usage)
    3. Metric Volume and Monitoring API Requests (Stackdriver Monitoring usage)

    You can also select just one or some of these SKUs if you don't want to group your usage data.

  6. Your usage data, filtered by the SKUs you selected, appears:

    The user interface showing usage data filtered
  by SKU.

View detailed Stackdriver usage in Metrics Explorer

  1. Go to the Monitoring console:

    Go to Monitoring console

  2. Select Resources > Metrics Explorer.

  3. Under Find resource type and metric, select the Global resource type and then select from the following metrics:

    • Log bytes ingested: Log bytes ingested in Logging.
    • Monthly log bytes ingested: Each point represents the month-to-date sum of log bytes ingested in Logging. The monthly total is available on the last day of the month, when it also resets.
    • Metric bytes ingested: Chargeable number of bytes of metric data ingested in Monitoring.
    • Trace spans ingested: Chargeable trace spans ingested in Trace.
    • Monthly trace spans ingested: Each point represents the month-to-date sum of trace spans ingested in Trace. It resets on the last day of the month; the monthly total is found on the last day of the month.
  4. Use the Filter, Group By, and Aggregation menus to get usage data by project, if you have multiple projects in your account. You can also use these menus to filter or group by resource or metric labels.

  5. Your usage data appears, filtered by the metrics you selected. To learn more about filtering and aggregations in the Metrics Explorer, go to Selecting metrics.

If metrics usage data doesn't appear in the chart, then you might need to zoom out to 1w or 1m in the time range selector above the chart.

View Logging usage by GCP project

  1. Go to the Logging console:

    Go to Logging Console

  2. Select Logs ingestion.

    The Logs ingestion pane displays a summary of your logs ingestion data for the selected GCP project. This data includes the previous month's total usage, the current month's to-date usage, and projected usage for the current month.

Optional: To review your project-level billing data in detail, click See Bill under Last month's ingested logs volume. This takes you to the Cloud Billing Reports page.

View Logging usage by resource type

  1. Go to the Logging console:

    Go to Logging Console

  2. Select Logs ingestion.

    The Logs ingestion table displays a summary of your logs ingestion data by resource type. This data includes the previous month's total usage, the current month's to-date usage, and projected usage for the current month.

View logs-based metrics usage

  1. Go to the Logging console:

    Go to Logging Console

  2. Select Logs-based metrics.

  3. In the User-defined Metrics table, your usage data appears:

    • Previous Month Usage represents the sum of bytes ingested in the logs-based metric in the previous calendar month.
    • Usage (MTD) represents the sum of bytes ingested in the logs-based metric in the current calendar month.

Optional: Clicking any of the column names lets you sort data in ascending or descending order. This is helpful, for example, if you want to review which metrics ingest the most data.

View Monitoring usage by Workspace

A Workspace is used in Stackdriver Monitoring to monitor the resources you care about, whether they are in a GCP project, an AWS account, or multiple GCP projects and AWS accounts. Monitoring organizes itself around Workspaces rather than around GCP projects, as other GCP services do. For more information, go to Workspaces.

To view your Monitoring usage by Workspace, do the following:

  1. Go to the Monitoring console:

    Go to Monitoring console

  2. Select Workspace Settings from the drop-down menu in the GCP project selector.

  3. Select Usage Details from Settings.

    The Metrics Ingested table displays a summary of your metrics ingestion data by resource. This data includes the previous month's total usage, the current month's to-date usage, and projected usage for the current month.

Optional: To get your project-level usage in detail, click View Bill in the Metrics Ingested table. This takes you to the Cloud Billing Reports page.

هل كانت هذه الصفحة مفيدة؟ يرجى تقييم أدائنا:

إرسال تعليقات حول...

Stackdriver Documentation