sentinel_service_name cannot be specified for the cli

Bug #1811372 reported by Christian Zunker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
osprofiler
Confirmed
Undecided
Unassigned

Bug Description

Hi,

we are using osprofiler with redis as backend.
Redis is a three node cluster with sentinel installed.

In the service config, e.g. nova, I can specifiy the redissentinel:// url and the sentinel_service_name.

Traces get generated and saved in Redis. But when I try to fetch the trace with osprofiler trace show and redissentinel:// url, I cannot specify sentinel_service_name which results in osprofiler using the default mymaster.

We are also using gnocchi with redis. There you can specify the master name with the url:
redis_url = redis://172.20.20.16:26379?sentinel=master01

Revision history for this message
Christian Zunker (christian-zunker) wrote :
Ilya Shakhat (shakhat)
Changed in osprofiler:
status: New → Confirmed
Revision history for this message
Ilya Shakhat (shakhat) wrote :

OSProfiler should be extended to support the same parameters as gnocchi: https://github.com/gnocchixyz/gnocchi/blob/master/gnocchi/common/redis.py

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.