04bbc2afeb19ace56bf1a23d5e09bdb2bf85d5d3,monitoring/api/v3/api-client/custom_metric_test.py,,,#,39
Before Change
CUSTOM_METRIC_DOMAIN = "custom.googleapis.com"
METRIC = "compute.googleapis.com/instance/cpu/usage_time"
METRIC_NAME = "".join(
random.choice("0123456789ABCDEF") for i in range(16))
METRIC_RESOURCE = "{}/{}".format(
CUSTOM_METRIC_DOMAIN, METRIC_NAME)
After Change
PROJECT = os.environ["GCLOUD_PROJECT"]
PROJECT_RESOURCE = "projects/{}".format(PROJECT)
Custom metric domain for all custom metrics
CUSTOM_METRIC_DOMAIN = "custom.googleapis.com"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 04bbc2afeb19ace56bf1a23d5e09bdb2bf85d5d3
Time: 2020-05-07
Author: tmatsuo@google.com
File Name: monitoring/api/v3/api-client/custom_metric_test.py
Class Name:
Method Name:
Project Name: oval-group/logger
Commit Name: 1e73293efb902f223f60b89750d66f953338499b
Time: 2018-05-11
Author: leonardbj@hotmail.fr
File Name: logger/plotter.py
Class Name: Plotter
Method Name: plot_config
Project Name: mariogeiger/se3cnn
Commit Name: 697c5b9d1b83ea199c7590e1d0ef695cfb99aba5
Time: 2019-07-23
Author: geiger.mario@gmail.com
File Name: se3cnn/point/kernel.py
Class Name: Kernel
Method Name: forward