Metrics
Cloud Monitoring
Enable API
gcloud services enable monitoring.googleapis.comMicrometer
Prometheus
Dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
compile group: 'org.springframework.boot', name: 'spring-boot-starter-actuator'
compile group: 'io.micrometer', name: 'micrometer-registry-prometheus'Configuration
Prometheus Endpoint
Prometheus Scraper
Install Prometheus Operator
Provisioning Prometheus server with Sidecar
Cloud Monitoring API
Dependency
Configuration
Learn More
Last updated
Was this helpful?