spring-boot-admin-docs/src/site/docs/08-third-party/pyctuator.md
You can easily integrate Spring Boot Admin with Flask or FastAPI Python applications using the Pyctuator project.
The following steps uses Flask, but other web frameworks are supported as well. See Pyctuator’s documentation for an updated list of supported frameworks and features.
pip install pyctuator
import os
from flask import Flask
from pyctuator.pyctuator import Pyctuator
app_name = "Flask App with Pyctuator"
app = Flask(app_name)
@app.route("/")
def hello():
return "Hello World!"
Pyctuator(
app,
app_name,
app_url="http://example-app.com",
pyctuator_endpoint_url="http://example-app.com/pyctuator",
registration_url=os.getenv("SPRING_BOOT_ADMIN_URL")
)
app.run()
For further details and examples, see Pyctuator’s documentation and examples.