1
Vote

add account name to display

description

Hi, thanks for the queue monitor. It's been very helpful.
 
Since I have multiple instances of my application that use different storage accounts, but have the same queue names (i.e. one for testing and one for production), I needed a way to tell them apart, so I tweaked the gadget to include account name.
 
Changes:
 
to AzureQueue.html add:
  • <div id="labelAccountName"></div>
     
    in AzureQueue.css add and change:
    +div#labelAccountName
    +{
  • position:absolute;left:10px;top:5px;width:110px;font-size:10px;overflow:hidden;
  • z-index:2;
    +}
    div#labelQueueName
    {
  • position:absolute;left:10px;top:10px;width:110px;font-size:10px;overflow:hidden;
  • position:absolute;left:10px;top:15px;width:110px;font-size:10px;overflow:hidden;
    z-index:2;
    }
     
    to AzureQueue.js add:
    try {
  • labelAccountName.innerHTML = AccountName;
        labelQueueName.innerHTML = QueueName;
     
    Graphs would be awesome, I look forward to your future enhancements.

comments

sbanacho wrote Jul 8, 2010 at 4:17 PM

Oops I guess I should've used svn to submit a patch. If figured this was easy enough though. Let me know if you need a patch.

wrote Jan 17, 2013 at 6:03 PM