GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(logging) Removing all references to Stackdriver (#14023) · fosky94/python-docs-samples@d4bd17f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • functions
    • ocr/app
      • main.py
    • tips-retry
      • main.py
    • v2
      • tips-avoid-infinite-retries
        • main.py
      • tips-retry
        • main.py
  • monitoring
    • api/v3/api-client
      • README.rst.in
      • README.rst
      • list_resources.py
    • snippets/v3
      • alerts-client
        • README.rst.in
        • README.rst
      • cloud-client
        • README.rst.in
        • README.rst
      • uptime-check-client
        • README.rst.in
        • README.rst
  • pubsub/streaming-analytics
    • PubSubToGCS_test.py
    • README.md
    • noxfile_config.py
    • requirements.txt
  • run
    • logging-manual
      • README.md
      • e2e_test.py
      • requirements-test.txt
    • pubsub
      • e2e_test.py
      • requirements-test.txt
  • trace/trace-python-sample-opentelemetry
    • README.rst.in
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎functions/ocr/app/main.py‎

Copy file name to clipboardExpand all lines: functions/ocr/app/main.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def detect_text(bucket: str, filename: str) -> None:
6969
filename: name of the file to be read.
7070
7171
Returns:
72-
None; the output is written to stdout and Stackdriver Logging.
72+
None; the output is written to stdout and Cloud Logging.
7373
"""
7474
print("Looking for text in image {}".format(filename))
7575

@@ -123,7 +123,7 @@ def process_image(file_info: dict, context: dict) -> None:
123123
context: a dictionary containing metadata about the event.
124124
125125
Returns:
126-
None; the output is written to stdout and Stackdriver Logging.
126+
None; the output is written to stdout and Cloud Logging.
127127
"""
128128
bucket = validate_message(file_info, "bucket")
129129
name = validate_message(file_info, "name")
@@ -148,7 +148,7 @@ def translate_text(event: dict, context: dict) -> None:
148148
context: a dictionary containing metadata about the event.
149149
150150
Returns:
151-
None; the output is written to stdout and Stackdriver Logging.
151+
None; the output is written to stdout and Cloud Logging.
152152
"""
153153
if event.get("data"):
154154
message_data = base64.b64decode(event["data"]).decode("utf-8")
@@ -189,7 +189,7 @@ def save_result(event: dict, context: dict) -> None:
189189
context: a dictionary containing metadata about the event.
190190
191191
Returns:
192-
None; the output is written to stdout and Stackdriver Logging.
192+
None; the output is written to stdout and Cloud Logging.
193193
"""
194194
if event.get("data"):
195195
message_data = base64.b64decode(event["data"]).decode("utf-8")
Collapse file

‎functions/tips-retry/main.py‎

Copy file name to clipboardExpand all lines: functions/tips-retry/main.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def retry_or_not(data, context):
2727
data (dict): The event payload.
2828
context (google.cloud.functions.Context): The event metadata.
2929
Returns:
30-
None; output is written to Stackdriver Logging
30+
None; output is written to Cloud Logging
3131
"""
3232

3333
# Retry based on a user-defined parameter
Collapse file

‎functions/v2/tips-avoid-infinite-retries/main.py‎

Copy file name to clipboardExpand all lines: functions/v2/tips-avoid-infinite-retries/main.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def avoid_infinite_retries(cloud_event):
2929
Args:
3030
cloud_event: The cloud event associated with the current trigger
3131
Returns:
32-
None; output is written to Stackdriver Logging
32+
None; output is written to Cloud Logging
3333
"""
3434
timestamp = cloud_event["time"]
3535

Collapse file

‎functions/v2/tips-retry/main.py‎

Copy file name to clipboardExpand all lines: functions/v2/tips-retry/main.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def retry_or_not(cloud_event):
3131
Args:
3232
cloud_event: The cloud event with a Pub/Sub data payload
3333
Returns:
34-
None; output is written to Stackdriver Logging
34+
None; output is written to Cloud Logging
3535
"""
3636

3737
# The Pub/Sub event payload is passed as the CloudEvent's data payload.
Collapse file

‎monitoring/api/v3/api-client/README.rst‎

Copy file name to clipboardExpand all lines: monitoring/api/v3/api-client/README.rst
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
.. This file is automatically generated. Do not edit this file directly.
22
3-
Stackdriver Monitoring Python Samples
3+
Cloud Monitoring Python Samples
44
===============================================================================
55

66
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
77
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=monitoring/api/v3/api-client/README.rst
88

99

10-
This directory contains samples for Stackdriver Monitoring. `Stackdriver Monitoring `_ collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others. Stackdriver ingests that data and generates insights via dashboards, charts, and alerts.
10+
This directory contains samples for Cloud Monitoring. `Cloud Monitoring `_ collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others. Cloud Monitoring ingests that data and generates insights via dashboards, charts, and alerts.
1111

1212

1313

1414

15-
.. _Stackdriver Monitoring: https://cloud.google.com/monitoring/docs
15+
.. _Cloud Monitoring: https://cloud.google.com/monitoring/docs
1616

1717
Setup
1818
-------------------------------------------------------------------------------
@@ -78,7 +78,7 @@ To run this sample:
7878
7979
usage: list_resources.py [-h] --project_id PROJECT_ID
8080
81-
Sample command-line program for retrieving Stackdriver Monitoring API V3
81+
Sample command-line program for retrieving Cloud Monitoring API V3
8282
data.
8383
8484
See README.md for instructions on setting up your development environment.
@@ -111,7 +111,7 @@ To run this sample:
111111
112112
usage: custom_metric.py [-h] --project_id PROJECT_ID
113113
114-
Sample command-line program for writing and reading Stackdriver Monitoring
114+
Sample command-line program for writing and reading Cloud Monitoring
115115
API V3 custom metrics.
116116
117117
Simple command-line program to demonstrate connecting to the Google
Collapse file

‎monitoring/api/v3/api-client/README.rst.in‎

Copy file name to clipboardExpand all lines: monitoring/api/v3/api-client/README.rst.in
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# This file is used to generate README.rst
22

33
product:
4-
name: Stackdriver Monitoring
5-
short_name: Stackdriver Monitoring
4+
name: Cloud Monitoring
5+
short_name: Cloud Monitoring
66
url: https://cloud.google.com/monitoring/docs
77
description: >
8-
`Stackdriver Monitoring `_ collects metrics, events, and metadata from
8+
`Cloud Monitoring `_ collects metrics, events, and metadata from
99
Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes,
1010
application instrumentation, and a variety of common application components
1111
including Cassandra, Nginx, Apache Web Server, Elasticsearch and many
12-
others. Stackdriver ingests that data and generates insights via
12+
others. Cloud Monitoring ingests that data and generates insights via
1313
dashboards, charts, and alerts.
1414

1515
setup:
Collapse file

‎monitoring/api/v3/api-client/list_resources.py‎

Copy file name to clipboardExpand all lines: monitoring/api/v3/api-client/list_resources.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
"""Sample command-line program for retrieving Stackdriver Monitoring API V3
16+
"""Sample command-line program for retrieving Cloud Monitoring API V3
1717
data.
1818
1919
See README.md for instructions on setting up your development environment.
Collapse file

‎monitoring/snippets/v3/alerts-client/README.rst‎

Copy file name to clipboardExpand all lines: monitoring/snippets/v3/alerts-client/README.rst
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
.. This file is automatically generated. Do not edit this file directly.
22
3-
Google Stackdriver Alerting API Python Samples
3+
Google Cloud Monitoring Alerting API Python Samples
44
===============================================================================
55

66
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
77
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=monitoring/api/v3/alerts-client/README.rst
88

99

10-
This directory contains samples for Google Stackdriver Alerting API. Stackdriver Monitoring collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others. Stackdriver's Alerting API allows you to create, delete, and make back up copies of your alert policies.
10+
This directory contains samples for Google Cloud Monitoring Alerting API. Cloud Monitoring collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others. Cloud Monitoring's Alerting API allows you to create, delete, and make back up copies of your alert policies.
1111

1212

1313

1414

15-
.. _Google Stackdriver Alerting API: https://cloud.google.com/monitoring/alerts/
15+
.. _Google Cloud Monitoring Alerting API: https://cloud.google.com/monitoring/alerts/
1616

1717
To run the sample, you need to enable the API at: https://console.cloud.google.com/apis/library/monitoring.googleapis.com
1818

Collapse file

‎monitoring/snippets/v3/alerts-client/README.rst.in‎

Copy file name to clipboardExpand all lines: monitoring/snippets/v3/alerts-client/README.rst.in
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# This file is used to generate README.rst
22

33
product:
4-
name: Google Stackdriver Alerting API
5-
short_name: Stackdriver Alerting API
4+
name: Google Cloud Monitoring Alerting API
5+
short_name: Cloud Monitoring Alerting API
66
url: https://cloud.google.com/monitoring/alerts/
77
description: >
8-
Stackdriver Monitoring collects metrics, events, and metadata from Google
8+
Cloud Monitoring collects metrics, events, and metadata from Google
99
Cloud Platform, Amazon Web Services (AWS), hosted uptime probes,
1010
application instrumentation, and a variety of common application
1111
components including Cassandra, Nginx, Apache Web Server, Elasticsearch
12-
and many others. Stackdriver's Alerting API allows you to create,
12+
and many others. Cloud Monitoring's Alerting API allows you to create,
1313
delete, and make back up copies of your alert policies.
1414

1515
required_api_url: https://console.cloud.google.com/apis/library/monitoring.googleapis.com
Collapse file

‎monitoring/snippets/v3/cloud-client/README.rst‎

Copy file name to clipboardExpand all lines: monitoring/snippets/v3/cloud-client/README.rst
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
.. This file is automatically generated. Do not edit this file directly.
22
3-
Google Stackdriver Monitoring API Python Samples
3+
Google Cloud Monitoring API Python Samples
44
===============================================================================
55

66
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
77
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=monitoring/api/v3/cloud-client/README.rst
88

99

10-
This directory contains samples for Google Stackdriver Monitoring API. Stackdriver Monitoring collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch
11-
and many others. Stackdriver ingests that data and generates insights
10+
This directory contains samples for Google Cloud Monitoring API. Cloud Monitoring collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch
11+
and many others. Cloud Monitoring ingests that data and generates insights
1212
via dashboards, charts, and alerts.
1313

1414

1515

1616

17-
.. _Google Stackdriver Monitoring API: https://cloud.google.com/monitoring/docs/
17+
.. _Google Cloud Monitoring API: https://cloud.google.com/monitoring/docs/
1818

1919
To run the sample, you need to enable the API at: https://console.cloud.google.com/apis/library/monitoring.googleapis.com
2020

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.