# spring-petclinic/spring-petclinic-microservices

Distributed version of Spring Petclinic built with Spring Cloud

Repository: https://github.com/spring-petclinic/spring-petclinic-microservices
Canonical: https://ross.abutalabs.com/products/spring-petclinic-microservices
Language: Java
License: Apache-2.0
License Family: permissive
Topics: spring-cloud, microservices, eureka, docker, spring-boot-admin, ribbon, zipkin, hystrix, micrometer, prometheus, grafana, chaos-monkey, opentelemetry, resilience4j
Last push: 2026-08-21T06:42:46+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 3581, "days_push": 12, "days_rel": 613, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2188, forks 2894 (observed 2026-08-28T04:06:23.838807+00:00)

## What it is
A distributed version of the Spring PetClinic sample application built with Spring Cloud, demonstrating microservices architecture with service discovery, API gateway, circuit breakers, and observability tooling. It serves as a reference implementation for learning how to split a monolithic Spring application into independently deployable microservices.

## Use cases
- learn how to build microservices with Spring Cloud
- reference architecture for splitting a monolith into microservices
- demonstrate service discovery with Eureka
- set up distributed tracing with Zipkin and OpenTelemetry
- monitor microservices with Prometheus and Grafana
- implement circuit breakers and resilience patterns with Resilience4j
- run a full microservices stack locally with docker-compose

## When to choose
- you want a well-maintained reference example of Spring Cloud microservices
- you are learning microservices patterns like service discovery, config server, and API gateway
- you need a sample app to practice observability with tracing, metrics, and dashboards
- you want to see Spring AI integrated into a microservices setup

## When to avoid
- you need a production-ready application rather than a sample/demo project
- you are not using the Java/Spring ecosystem
- you want a minimal example without the overhead of multiple services and infrastructure components

## Facets
- artifact type: application
- maturity: active
- function: microservices, api-gateway, service-discovery, tracing, monitoring, deployment, chatbot
- domain: microservices, developer-tools, self-hosted, web-development, artificial-intelligence
- platform: jvm
- tags: spring-cloud, spring-boot, sample-application, eureka, resilience4j, opentelemetry, prometheus, grafana, chaos-engineering, distributed-systems, docker, spring, kubernetes

## Member repositories
- spring-petclinic/spring-petclinic-microservices (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:23.838807+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:51.892147+00:00, confidence not recorded.
  - readme: https://github.com/spring-petclinic/spring-petclinic-microservices (fetched 2026-08-28T04:06:23.838807+00:00, sha 6917dad954c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
