Part 1: Features of the Chrome App - Embedding
In my previous post, I introduced my OSG Chrome App. In this post, I want to introduce one feature of the chrome app, Embedding profiles.
The HCC GlideinWMS status page shows only the monitoring information. In order to see any accounting data, I have to navigate to the GratiaWeb site and filter for hcc usage. Instead I want to view the accounting data on the same page as I am viewing GlideinWMS status. And so I added the ability to Embed a set of graphs using the Chrome App.
Creating a HCC GlideinWMS Profile
HCC Usage with new graph. Not much usage... |
Embedding the Profile
Now that I have the profile showing the data I want to see, I want to embed this data in my webpage. I followed the documentation again, for sharing the graphs and embedding it.I clicked the green share button at the top, and entered the name and description of the profile. Then I submitted the profile for sharing. It returned an embed link that I can use on the webpage.
Share profile showing embed URL |
Once I have this embed URL, I can copy / paste that HTML into the HCC GlideinWMS page and it will show HCC data every time I visit.
HCC Usage embedded on our own website |
And that's it.
Leave a comment