Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Latest commit

 

History

History
74 lines (42 loc) · 3.42 KB

README.md

File metadata and controls

74 lines (42 loc) · 3.42 KB

Glowroot Central Collector Docker Image

License (LGPL version 3)

This is a simple image using openjdk:17-slim as the base image for Glowroot.

Supported tags and respective Dockerfile links

How to use this image

The following ports may be mapped to the host:

  • 4000: central UI will be available at this port (ex.: http://localhost:4000)
  • 8181: central collector will listen for HTTP/2 connections from agents on this port

You can create a container from this image running something like this:

How to extend this image

start a collector

docker run -d --rm --name glowroot_central \
      -p 4000:4000 -p 8181:8181 -e CASSANDRA_CONTACT_POINTS=cassandra \
      brunocesar/glowroot-central

You can configure it in many ways, but it is not our goal to support every possible configuration use case. The following is just a few options that might be useful.

Environment Variables:

CASSANDRA_CONTACT_POINTS

This optional environment variable can be used to define cassandra's contact points. Default on glowroot-central.properties is cassandra.contactPoints=127.0.0.1

CASSANDRA_PORT

This optional environment variable can be used to define cassandra's port. Default on glowroot-central.properties is cassandra.port=9042

CASSANDRA_USERNAME

This optional environment variable can be used to define the username for cassandra authentication. Default is to connect without credentials

CASSANDRA_PASSWORD

This optional environment variable can be used to define the password for cassandra authentication. Default is to connect without credentials

CASSANDRA_KEYSPACE

This optional environment variable can be used to define the keyspace on cassandra. Default on glowroot-central.properties is cassandra.keyspace=glowroot

CASSANDRA_CONSISTENCY_LEVEL

This optional environment variable can be used to define cassandra's consistency level. Default on glowroot-central.properties is cassandra.consistencyLevel=QUORUM

CASSANDRA_SYMMETRIC_ENCRYPTION_KEY

This optional environment variable can be used to define cassandra's symmetric encryption key.

UI_CONTEXT_PATH

This optional environment variable can be used to define context path to acess UI. Default on glowroot-central.properties is ui.contextPath=/

Also, /usr/share/glowroot-central is exposed as a volume.

See more about glowroot central collector configuration here: Central Collector Installation

License

This project and its documentation are licensed under the LGPL license. Refer to LICENCE for more information.