Bindplane

The Bindplane Developer Hub

Welcome to the Bindplane developer hub. You'll find comprehensive guides and documentation to help you start working with Bindplane as quickly as possible, as well as support if you get stuck. Let's jump right in!

Google Cloud Functions

Monitor Google Event-Driven Serverless Computing

📘

Not Included in the BindPlane with Google Stackdriver offering

All of the Google Cloud Platform sources listed within this documentation are not included with the BindPlane with Google Stackdriver offering.

For more information on how to use the below LPU and other Google Cloud Data Collection setup. See the Google Cloud Platform Sources

Least Privileged User

A user role with the at least the following permissions is required:

📘

Deploying a Least Privileged User

To learn more about how to deploy a role with these permissions to a GCP Organization, or a GCP Project, please refer to this documentation:
Deploy an Individual LPU role to a GCP Project, or GCP Organization

- cloudnotifications.activities.list
- monitoring.alertPolicies.get
- monitoring.alertPolicies.list
- monitoring.dashboards.get
- monitoring.dashboards.list
- monitoring.groups.get
- monitoring.groups.list
- monitoring.metricDescriptors.get
- monitoring.metricDescriptors.list
- monitoring.monitoredResourceDescriptors.get
- monitoring.monitoredResourceDescriptors.list
- monitoring.notificationChannelDescriptors.get
- monitoring.notificationChannelDescriptors.list
- monitoring.notificationChannels.get
- monitoring.notificationChannels.list
- monitoring.publicWidgets.get
- monitoring.publicWidgets.list
- monitoring.timeSeries.list
- monitoring.uptimeCheckConfigs.get
- monitoring.uptimeCheckConfigs.list
- resourcemanager.projects.get
- resourcemanager.projects.list
- stackdriver.projects.get- 
- cloudfunctions.functions.get
- cloudfunctions.functions.list
- cloudfunctions.locations.list
- cloudfunctions.operations.get
- cloudfunctions.operations.list
- serviceusage.services.get

Connection Parameters

NameRequired?Description
Private Key JSONRequiredThe contents of the private key JSON file created when setting up a service account.
Metric CollectionControls which metrics get requested from GCP's Stackdriver API.
ProjectsRequiredA comma separated whitelist of project IDs. If the wildcard "*" is used, resources will be collected from all available projects.
LocationsA comma separated whitelist of locations (this can be regions or multi-regional locations). If the wildcard "*" is used, resources will be collected from all available locations.
Connection TimeoutThe number of seconds to allow for connecting to the target.

Metrics

Function

NameDescription
Available Memory (Megabits)The amount of memory in available for a function.
DescriptionUser-provided description of a function.
Entry PointThe name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
Event Trigger ResourceWhich instance of the source's service should send events.
Event Trigger ServiceThe hostname of the service that should be observed.
Event Trigger TypeContain the service that is sending an event and the kind of event that was fired.
Execution Times (Nanoseconds)Distribution of functions execution times.
ExecutionsThe rate of function executions.
Https Trigger URLDescribes HTTPSTrigger, could be used to connect web hooks to function.
LabelsLabels associated with this Cloud Function.
Memory (Megabits)Distribution of function's memory usage during execution.
NameThe name of the function.
Network Egress (Bytes per Second)Outgoing network traffic of function.
Project IDThe project ID in which the function was created.
RegionThe region the function runs in.
Service Account EmailThe email of the function's service account.
Source Archive URLThe Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
Source Repository Deployed URLThe URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
Source Repository URLThe URL pointing to the hosted repository where the function is defined.
Source Upload URLThe Google Cloud Storage signed URL used for source uploading, generated by [google.cloud.functions.v1.GenerateUploadUrl][].
StatusStatus of the function deployment.
Timeout (Seconds)The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period.
Update TimeThe last update timestamp of a Cloud Function. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Version IDThe version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.

Updated 8 months ago

Google Cloud Functions


Monitor Google Event-Driven Serverless Computing

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.