alibaba / alibaba/Sentinel

Dashboard server not able to pull metrics from clients running in docker env

Open
#1,378 6 comments 0 reactions 0 assignees View on GitHub
area/dashboard area/metrics kind/question
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

My docker containers are running in mesos cluster and they are sending metrics to dashboard using the docker container host. Sentinel dashboard server isn't able to pull metrics from clients

My query is :
I don't have a control where my docker containers will run in the mesos cluster.
How shall I set the value of this variable -Dcsp.sentinel.heartbeat.client.ip = xxx so that all my docker clients should be able to send metrics?

### Describe what happened (or what feature you want)

### Describe what you expected to happen

I expect sentinel dashboard server to collect metrics from all sentinel clients

### How to reproduce it (as minimally and precisely as possible)

1.
2.
3.

### Tell us your environment

### Anything else we need to know?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Sentinel's dashboard heartbeat and client IP configuration in the Java project, then examine how Docker containers in a Mesos cluster advertise reachable addresses. Reproduce the reported setup and verify that the dashboard collects metrics from all Sentinel clients; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
backend, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.