Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit c7481b8

Browse files
committed
fixed docstring
1 parent 53669f7 commit c7481b8

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

google/cloud/bigtable/data/_metrics/handlers/gcp_exporter.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ class GoogleCloudMetricsHandler(OpenTelemetryMetricsHandler):
9999
- throttling_latencies: latency introduced by waiting when there are too many outstanding requests in a bulk operation.
100100
101101
Args:
102-
- exporter: The exporter object used to write metrics to Cloud Montitoring.
102+
exporter: The exporter object used to write metrics to Cloud Montitoring.
103103
Should correspond 1:1 with a bigtable client, and share auth configuration
104-
- export_interval: The interval (in seconds) at which to export metrics to Cloud Monitoring.
105-
- *args: configuration positional arguments passed down to super class
106-
- *kwargs: configuration keyword arguments passed down to super class
104+
export_interval: The interval (in seconds) at which to export metrics to Cloud Monitoring.
105+
*args: configuration positional arguments passed down to super class
106+
*kwargs: configuration keyword arguments passed down to super class
107107
"""
108108

109109
def __init__(self, exporter, *args, export_interval=60, **kwargs):
@@ -133,7 +133,7 @@ class BigtableMetricsExporter(MetricExporter):
133133
project_id it is configured with.
134134
135135
Args:
136-
- project_id: GCP project id to associate metrics with
136+
project_id: GCP project id to associate metrics with
137137
"""
138138

139139
def __init__(self, project_id: str, *client_args, **client_kwargs):
@@ -205,9 +205,9 @@ def _batch_write(
205205
https://github.com/GoogleCloudPlatform/opentelemetry-operations-python/blob/3668dfe7ce3b80dd01f42af72428de957b58b316/opentelemetry-exporter-gcp-monitoring/src/opentelemetry/exporter/cloud_monitoring/__init__.py#L82
206206
207207
Args:
208-
- series: list of TimeSeries to write. Will be split into batches if necessary
209-
- deadline: designates the time.time() at which to stop writing. If None, uses API default
210-
- max_batch_size: maximum number of time series to write at once.
208+
series: list of TimeSeries to write. Will be split into batches if necessary
209+
deadline: designates the time.time() at which to stop writing. If None, uses API default
210+
max_batch_size: maximum number of time series to write at once.
211211
Cloud Monitoring allows up to 200 per request
212212
"""
213213
write_ind = 0

0 commit comments

Comments
 (0)