hawtio

the hawt.io web console helps you manage your JVM stuff and stay cool!

Github星跟踪图

hawtio

CircleCI

Introduction

Hawtio is a lightweight and modular Web console for managing Java applications.

Hawtio screenshot

Hawtio has lots of plugins such as: Apache ActiveMQ, Apache Camel, JMX, OSGi, Logs, Spring Boot, and Diagnostics.
You can dynamically extend Hawtio with your own plugins or automatically discover plugins inside the JVM.

The only server side dependency (other than the static HTML/CSS/JS/images) is the excellent Jolokia library which has small footprint (around 300KB) and is available as a JVM agent, or comes embedded as a servlet inside the hawtio-default.war or can be deployed as an OSGi bundle.

Get Started

For more details and other containers, see Get Started Guide.

Running an executable JAR

You can start up Hawtio on your machine using the hawtio-app executable JAR.

Once you have downloaded it, just run this from the command line:

java -jar hawtio-app-2.9.1.jar

Running a Spring Boot app

Attaching the Hawtio console to your Spring Boot app is simple.

  1. Add io.hawt:hawtio-springboot to the dependencies in pom.xml:

     <dependency>
       <groupId>io.hawt</groupId>
       <artifactId>hawtio-springboot</artifactId>
       <version>2.9.1</version>
     </dependency>
    
  2. Enable the Hawtio and Jolokia endpoints by adding the following line in application.properties:

     management.endpoints.web.exposure.include=hawtio,jolokia
    

Now you should be able to run Hawtio in your Spring Boot app as follows:

mvn spring-boot:run

Opening http://localhost:8080/actuator/hawtio should show the Hawtio console.

See Spring Boot example for a working example app.

Deploying on Apache Karaf

If you are using Apache Karaf 4.x and above:

feature:repo-add hawtio 2.9.1
feature:install hawtio

This will install all the features required for Hawtio. The Hawtio console can then be viewed at http://localhost:8181/hawtio.

Karaf versions prior to 4.x are not supported.

Contributing

We love contributions! Here are the resources on how to get you involved in Hawtio development.

Check out the GitHub issues for finding issues to work on.

License

Hawtio is licensed under Apache License, Version 2.0.

主要指标

概览
名称与所有者hawtio/hawtio
主编程语言Java
编程语言Java (语言数: 11)
平台
许可证Apache License 2.0
所有者活动
创建于2012-12-02 11:58:08
推送于2025-06-02 06:11:49
最后一次提交
发布数202
最新版本名称hawtio-4.4.1 (发布于 2025-04-28 18:17:12)
第一版名称hawtio-1.0 (发布于 2013-03-05 16:36:22)
用户参与
星数1.4k
关注者数115
派生数547
提交数10k
已启用问题?
问题数2397
打开的问题数20
拉请求数1372
打开的拉请求数1
关闭的拉请求数148
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?