Skip to content

Stackdriver product rename #336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions logging/src/main/java/ListLogs.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

/**
* Cloud Logging Java API sample that lists the logs available to a project.
* Uses the v1beta3 Cloud Logging API, version 1.20.0 or later.
* Uses the v1beta3 Stackdriver Logging API, version 1.20.0 or later.
* See https://cloud.google.com/logging/docs/api/libraries/.
*/
public class ListLogs {
Expand All @@ -44,7 +44,7 @@ public class ListLogs {
private static final String APPLICATION_NAME = "ListLogs sample";

/**
* Returns an authorized Cloud Logging API service client that is usable
* Returns an authorized Stackdriver Logging API service client that is usable
* on Google App Engine, Google Compute Engine, workstations with the Google Cloud SDK,
* and other computers if you install service account private credentials.
* See https://cloud.google.com/logging/docs/api/tasks.
Expand All @@ -65,12 +65,12 @@ public static Logging getLoggingService() throws IOException {

/**
* Lists the names of the logs visible to a project, which may require fetching multiple
* pages of results from the Cloud Logging API. This method converts log resource names
* pages of results from the Stackdriver Logging API. This method converts log resource names
* ("/projects/PROJECTID/logs/SERVICENAME%2FLOGNAME") to simple log names ("SERVICENAME/LOGNAME").
*
* @param service The logging service client returned by getLoggingService.
* @param projectId The project whose logs are to be listed.
* @throws IOException If the Cloud Logging API fails because, for example, the project ID
* @throws IOException If the Stackdriver Logging API fails because, for example, the project ID
* doesn't exist or authorization fails.
* See https://cloud.google.com//logging/docs/api/tasks/#java_sample_code.
*/
Expand All @@ -97,9 +97,9 @@ private static void listLogs(Logging service, String projectId) throws IOExcepti
// [END listlogs]

/**
* Demonstrates the Cloud Logging API by listing the logs in a project.
* Demonstrates the Stackdriver Logging API by listing the logs in a project.
* @param args The project ID.
* @throws IOException if a Cloud Logging API call fails because, say, the project ID is wrong
* @throws IOException if a Stackdriver Logging API call fails because, say, the project ID is wrong
* or authorization fails.
*/
public static void main(String[] args) throws IOException {
Expand Down
4 changes: 2 additions & 2 deletions monitoring/v2/src/main/java/CloudMonitoringAuthSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* Simple command-line program to demonstrate connecting to and retrieving data
* from the Google Cloud Monitoring API using application default credentials.
* from the Stackdriver Monitoring API using application default credentials.
* Please see README.md on instructions to run.
*/
public final class CloudMonitoringAuthSample {
Expand Down Expand Up @@ -74,7 +74,7 @@ private static CloudMonitoring authenticate()
}

/**
* Query the Google Cloud Monitoring API using a service account and print the
* Query the Stackdriver Monitoring API using a service account and print the
* result to the console.
*
* @param args The first arg should be the project name you'd like to inspect.
Expand Down
2 changes: 1 addition & 1 deletion monitoring/v3/src/main/java/CreateCustomMetric.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ ListTimeSeriesResponse readTimeseriesValue() throws IOException {
}

/**
* Use the Google Cloud Monitoring API to create a custom metric.
* Use the Stackdriver Monitoring API to create a custom metric.
*
* @param args The first arg should be the project name you'd like to inspect.
* @throws Exception if something goes wrong.
Expand Down
4 changes: 2 additions & 2 deletions monitoring/v3/src/main/java/ListResources.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

/**
* Simple command-line program to demonstrate connecting to and retrieving data
* from the Google Cloud Monitoring API v3 using application default credentials.
* from the Stackdriver Monitoring API v3 using application default credentials.
*/
public class ListResources {

Expand Down Expand Up @@ -180,7 +180,7 @@ static Monitoring authenticate() throws GeneralSecurityException, IOException {
}

/**
* Query the Google Cloud Monitoring API using a service account and print the
* Query the Stackdriver Monitoring API using a service account and print the
* result to the console.
*
* @param args The first arg should be the project name you'd like to inspect.
Expand Down