Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RelMon Piecharts Not Working Anymore #44711

Open
AdrianoDee opened this issue Apr 11, 2024 · 4 comments
Open

RelMon Piecharts Not Working Anymore #44711

AdrianoDee opened this issue Apr 11, 2024 · 4 comments

Comments

@AdrianoDee
Copy link
Contributor

AdrianoDee commented Apr 11, 2024

Since a few days, we don't see anymore the piecharts in the RelMon reports pages. As a reference, this is how it was:

this is how it is:

image

This is due to the fact that those piecharts are built with:

def get_summary_chart_ajax(self,w=400,h=300):
"""Emit the ajax to build a pie chart using google apis...
"""
url = "https://chart.googleapis.com/chart?"
url+= "cht=p3" # Select the 3d chart
#url+= "&chl=Success|Null|Fail" # give labels
url+= "&chco=00FF00|FFFF00|FF0000|7A7A7A" # give colours to labels
url+= "&chs=%sx%s" %(w,h)
#url+= "&chtt=%s" %self.name
url+= "&chd=t:%.2f,%.2f,%.2f,%.2f"%(self.get_success_rate(),self.get_null_rate(),self.get_fail_rate(),self.get_skiped_rate())

that relies on chart.googleapis.com API that is no more alive. Fun fact: technically the API was discontinued in 2012 just a few months after the first commit introducing the RelMon machinery. But for some reason it was kept alive unmaintained until few days ago (so for 12 years). A pictorial representation of what happened..

@AdrianoDee
Copy link
Contributor Author

assign pdmv

@cmsbuild
Copy link
Contributor

New categories assigned: pdmv

@AdrianoDee,@sunilUIET,@miquork you have been requested to review this Pull request/Issue and eventually sign? Thanks

@cmsbuild
Copy link
Contributor

cms-bot internal usage

@cmsbuild
Copy link
Contributor

A new Issue was created by @AdrianoDee.

@rappoccio, @Dr15Jones, @smuzaffar, @antoniovilela, @sextonkennedy, @makortel can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants