Google Cloud Platform firestore metricset
editGoogle Cloud Platform firestore metricset
editThis functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
Firestore metricset fetches metrics from Firestore in Google Cloud Platform.
The firestore
metricset contains all metrics exported from the GCP Firestore Monitoring API. The field names have been left untouched for people already familiar with them.
You can specify a single region to fetch metrics like us-central1
. Be aware that GCP Storage does not use zones so us-central1-a
will return nothing. If no region is specified, it will return metrics from all buckets.
Metrics
editHere is a list of metrics collected by firestore
metricset:
-
firestore.document.delete_count
: The number of successful document deletes. -
firestore.document.read_count
: The number of successful document reads from queries or lookups. -
firestore.document.write_count
: The number of successful document writes.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{ "@timestamp": "2016-05-23T08:05:34.853Z", "cloud": { "account": { "id": "elastic-apm" }, "provider": "gcp" }, "event": { "dataset": "gcp.firestore", "duration": 115000, "module": "gcp" }, "gcp": { "labels": { "metrics": { "storage_class": "MULTI_REGIONAL" }, "resource": { "bucket_name": "artifacts.elastic-apm.appspot.com", "location": "us" } }, "firestore": { "document": { "delete_count": { "value": 15 } } } }, "metricset": { "name": "firestore", "period": 10000 }, "service": { "type": "gcp" } }