https://github.com/bozzelliandrea/gcp-metric-console
Java CLI for create and logging metrics dynamically on Google Cloud Platform
https://github.com/bozzelliandrea/gcp-metric-console
Last synced: 29 days ago
JSON representation
Java CLI for create and logging metrics dynamically on Google Cloud Platform
- Host: GitHub
- URL: https://github.com/bozzelliandrea/gcp-metric-console
- Owner: bozzelliandrea
- Created: 2021-12-08T13:11:57.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-08T18:56:54.000Z (almost 4 years ago)
- Last Synced: 2025-05-19T06:07:41.582Z (5 months ago)
- Language: Java
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GCP - METRIC CONSOLE
Java CLI for create metrics and logging metrics dynamically on Google Cloud Platform
#### SETUP
- You need Google Cloud SKD installed and configured with your domain.
- JDK 1.8 required#### USAGE
- Setup you're own properties on console.properties file
- Write the json file with the metrics you want to create
- Open the ConsoleRunner class and run it (or create .jar file and execute)
- Use the CLI for create (with file)/delete/get the metrics or log metrics### CLI
```
Google Cloud Platform - Metric | Resource | Logging ConsoleUsage:
new-metric-descriptor | Creates a metric descriptor
list-metric-descriptors | Lists of metric descriptors
delete-metric-descriptors | Deletes a metric descriptor
list-monitored-resources | Lists the monitored resources
get-resource | Describes a monitored resource
list-log-metrics | Lists of log metrics
new-log-metrics | Creates a log metrics
delete-log-metrics | Deletes a log metrics
exit | Exit from consoleGCP Metrics >
```