Package | Description |
---|---|
com.google.cloud.logging |
A client for Stackdriver Logging - Real-time log management and analysis.
|
Modifier and Type | Class and Description |
---|---|
class |
Metric
Stackdriver Logging metrics describe logs-based metric.
|
Modifier and Type | Method and Description |
---|---|
abstract MetricInfo |
MetricInfo.Builder.build()
Creates a
MetricInfo object for this builder. |
static MetricInfo |
MetricInfo.of(String name,
String filter)
Creates a
MetricInfo object given the name of the metric and its filter. |
Modifier and Type | Method and Description |
---|---|
Metric |
Logging.create(MetricInfo metric)
Creates a new metric.
|
com.google.api.core.ApiFuture<Metric> |
Logging.createAsync(MetricInfo metric)
Sends a request for creating a metric.
|
Metric |
Logging.update(MetricInfo metric)
Updates a metric or creates one if it does not exist.
|
com.google.api.core.ApiFuture<Metric> |
Logging.updateAsync(MetricInfo metric)
Sends a request for updating a metric (or creating it, if it does not exist).
|
Copyright © 2019 Google LLC. All rights reserved.