All I got with script replacement is the following:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in
respond
response.body = self.handler()
File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217,
in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in
__call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/ceph/mgr/prometheus/module.py", line 409, in metrics
if global_instance().have_mon_connection():
AttributeError: 'Module' object has no attribute 'have_mon_connection'
I'm not familiar with Python, so any advise is much appreciated.
On Friday, February 16, 2018 at 12:10, Konstantin Shalygin wrote:
> > i just try to get the prometheus plugin up and runing
>
>
>
> Use module from master.
>
> From this commit should work with 12.2.2, just wget it and replace
> stock module.
>
> https://github.com/ceph/ceph/blob/d431de74def1b8889ad568ab99436362833d063e/src/pybind/mgr/prometheus/module.py
>
>
>
>
> k
>
> _______________________________________________
> ceph-users mailing list
> [email protected] (mailto:[email protected])
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com