Working with perspectives

What is a perspective?

A perspective looks like a dashboard, but while a dashboard gives you an overview about all your resources a perspective gives you details about a specific resource.
Each perspective contains data about a specific aspect of the resource. For example, an SQL database will have perspectives like SQL Database, Resource, Alerts and Cost, each of them containing data about this specific aspect of the SQL database. Which perspectives are available depends on what kind of data is useful for this type of resource. You can edit the perspectives to customize them to your needs and you can also create new perspectives.

Perspectives use the same tiles as a dashboard, but they show data in the context of the specific resource they are focused on.

The power of perspectives is that tiles on a perspective can use a dynamic scope. A dynamic scope considers the currently viewed resource. A dynamic scope consists of two different states:

  • the configuration of the scope in the tile (for example, "consider child objects of type logical disk for the currently viewed object")
  • the actual resolved scope that depends on which resource you are currently viewing ("this object has 5 child objects of type logical disk")

After configuring the dynamic scope once in the tile, you'll get different results depending how the scope is resolved on the different resources you are viewing.

Where do I find perspectives?

Perspectives are only visible on the drilldown of a resource. You can get to a drilldown by searching for the resource or, when you are on a dashboard, by clicking on data about that resource in one of graphs on the dashboard. On the drilldown, you'll see the perspective ribbon below the resource's name which contains all the different perspectives that are available for this resource.

Perspective ribbon:

Tip: You can also add perspectives to the navigation bar to create a shortcut to a specific perspective (see Pinned Perspectives).

Managing Perspectives

Unpublished perspectives are shown on System > Unpublished.

What are pinned perspectives?

A 'pinned perspective' is a perspective that has been added to the navigation bar (available in v4.5 and above).

Pinning a perspective to the navigation bar creates a handy shortcut to a perspective for a specific resource. Usually, you first need to navigate to the specific resource to be able to choose which perspective you want to see. By pinning the perspective to the navigation bar, you can go to one specific perspective directly.

Note: A pinned perspective is one perspective for one specific resource. Even though a perspective can be available for different resources of the same type, pinning a perspective does not mean you pin the perspective to the navigation bar and then choose the resource you want to see. The pinned perspective will be about the one resource you were viewing when you pinned the perspective.

For more use cases of pinned perspectives and how to create them see Pinned Perspectives.

What are suppressed perspectives?

A suppressed perspective is hidden from the perspective ribbon by default. The perspective is still available for the resource but users have to click on the arrow button in the perspective ribbon to see it. Suppressing perspectives is helpful to keep the perspective ribbon nice and tidy.

Suppressing a perspective does not change the target, which means the resource still has to match the target for the perspective to be available on the ribbon bar. If it does, the criteria for the suppressed perspective determine if the perspective is visible directly or hidden behind the arrow button.

How to create or edit a perspective

Note: Only SquaredUp DS Admins can create and edit perspectives. This applies also to pinned perspectives in Team Folders. While a normal dashboard in a Team Folder can be edited by users when they have the author or owner role for the Team Folder, a pinned perspective in a Team Folder can't be edited by users, even if they have the author or owner role, since editing a perspective affects all resources of the same type.

  1. If you want to create a new perspective:
    You first need to decide which resources the perspective will apply to:
    After you navigate to the correct resource, resource group, or subscription you need to click on the + button on the perspective ribbon.
    If you want to edit a perspective:
    Go to one of the resources, resource groups or subscriptions that contain the perspective, choose the perspective from the perspective ribbon and click on the edit button.
    • If you want to create a perspective that only applies to one specific resource, resource group, or subscription you need to navigate to that specific resource, resource group, or subscription.
      • If you want to create a perspective that applies to all resources no matter their type or all resources of a specific type, you can navigate to any resource, but not to a resource group or subscription.
    • If you want to create a perspective that applies to all resource groups, you can navigate to any resource group, but not to a resource or subscription.
      • If you want to create a perspective that applies to all subscriptions, you can navigate to any subscription, but not to a resource or resource group.
  2. Creating or editing perspectives consists of three parts:
    • Defining the settings for the perspective
    • Configuring the tiles on the perspective
    • Publishing the perspective to make it available
  3. Defining the settings for the perspective
    Tip: If the settings section is hidden, click on the settings button at the top right of the page to make the section visible again.
  4. Configuring the tiles on the perspective
    The main difference between configuring tiles on dashboards and on a perspective is the scope option.

    There are detailed articles for each of the different tiles, that take you through all the configuration options and a walkthrough to get you started.

    For more information about how to configure each tile type see the list of tile articles here:

    SquaredUp DS for Azure > Dashboarding > Tiles

  5. Publishing the perspective
    The new or edited perspective will be saved as a draft. You can identify a draft by two indicators:
    To publish the new or changed perspective click the unpublished changes button at the top of the screen, then click publish to make the changes live.
    • There's (DRAFT) written after the perspective's name in the perspective ribbon
    • There's an unpublished changes button next to the resource's name

How to delete a perspective

You can navigate to a dashboard, perspective, or pinned perspective, click the edit

button and then click the delete button.

Note: If you are deleting a pinned perspective, you only delete the pinned perspective, not the original perspective.

Note about the discard button:

If a dashboard or perspective is not published yet (draft), the discard and discard changes buttons will delete it.

If the dashboard or perspective has been published, and then you make changes, discard will discard the changes and leave the previously published dashboard or perspective live.

If you unpublish a dashboard or perspective and then discard changes then the dashboard or perspective will be deleted.

More options to delete a dashboard or pinned perspective

Note: These options only work for dashboards and pinned perspectives, not for perspectives. If you delete a pinned perspective, only the pinned perspective will be deleted, not the original perspective.

Other options to delete a dashboard or pinned perspective are:

  1. You can delete the dashboard or pinned perspective from the navigation bar. Deleting it from the navigation bar will delete it completely, not just from the navigation bar.
  2. If the dashboard or pinned perspective is in a folder, you can go to the folder settings
    , click the edit
    button, and delete it from the folder. Deleting it from the folder will delete the dashboard, not just from the folder. Admin users can restore dashboards and perspectives, see Recycle Bin

Walkthrough: Creating a perspective and adding tiles

This walkthrough will guide you through creating a new perspective using a specific example.

In the first walkthrough, we are going to create a perspective with a Cost Management tile treemap for a subscription. In the second walkthrough, we are going to create a new perspective with a tile for a resource.

Settings for perspectives

Title

The title of the perspective is the name that will be shown in the perspective ribbon.

Choose a title that is appropriate for this perspective. A perspective often applies to different resources so the title should not be specific to one resource in that case.

Target

The target of a perspective determines two things:

  • for which set of resources the perspective will be visible in the perspective ribbon
  • which set of resources will be used for the dynamic scope of the tiles
    Note about the relation between the perspective's target and the scope of the perspective's tiles:
    Usually, when you create tiles on a perspective you use a dynamic scope for them that adapts to the currently viewed resource. When you define a perspective's target, you define for which resources the perspective will be available. Since the target determines the resources that can be viewed and the currently viewed resource determines how the dynamic scope is resolved, the target directly affects the scope of those tiles.

this resource only
The perspective will only be visible for the one specific resource you picked, for example one specific VM. This means the perspective won't be visible for any other resources.
Choose this option if you want to create a very specific perspective that is only relevant to one specific resource.
all resources
The perspective will be visible for all resources, no matter their type.
Choose this option if you want to create a very broad perspective that is relevant for every resource.
Resources of type
The perspective will be visible for resources of the specified type. For example, by choosing SQL databases the perspective will be shown for all SQL databases. This option is not shown for resource groups or subscriptions.

Suppress this perspective

Here you can choose the criteria for when the perspective should be suppressed.

Graph colors

Graph color matching means that one item (a specific resource, object, site, anything you are displaying in your graphs) is shown in the same color in different graphs on one dashboard or one perspective.

The default setting is on.

For more details about graph color matching see How to enable graph color matching

Scoping tiles on perspectives

The power of perspectives is that tiles on a perspective can use a dynamic scope. A dynamic scope considers the currently viewed resource. A dynamic scope consists of two different states:

  • the configuration of the scope in the tile (for example, "consider child objects of type logical disk for the currently viewed object")
  • the actual resolved scope that depends on which resource you are currently viewing ("this object has 5 child objects of type logical disk")

After configuring the dynamic scope once in the tile, you'll get different results depending how the scope is resolved on the different resources you are viewing.

How to change the order of perspectives

You can change the order of perspectives for an object simply by dragging them to a new position on the perspective ribbon. The first perspective on the far left of the ribbon bar is the default perspective that will be shown first when you navigate to the object.

  1. Navigate to the perspective you want to move.
  2. Click on the edit button
  3. Click on the perspective name on the ribbon and drag it to its new position.

Action buttons for perspectives

Action buttons are customized buttons that you can add at the top of a dashboard or perspective.

You can choose between different types of actions:

  • Open an internal link
    An internal link within your SquaredUp DS instance. For example, when you want to link from an object's perspective to a dashboard that is relevant for that object.Internal links use only the part of the URL that comes after .../SquaredUpv[version number]/. For example, if the full URL to a dashboard is https://mysquaredup.com/SquaredUp/page/dashboard-enterprise-applications, you need to use /page/dashboard-enterprise-applications.
  • Open a web link
    A link to any URL. For example, when you have a dashboard for monitoring a website or application, you can add a link to that website or application. Web links have to include the http:// or https:// prefix. These links will open in a new tab by default.

How to add an action button to a perspective

  1. For dashboards: Go to the dashboard where you want to add the action button.
    For perspectives: If you want to add the action button to a specific perspective, go to a resource that contains the perspective and choose this perspective. If you want to add the action button to all perspectives of a specific type of resource, go to a resource of this type.
  2. Click on the edit button to go into edit mode.
  3. Click on the Edit actions button.
  4. Under Actions, click on the add button.
  5. Enter a name for your new action button.
  6. Select the type of action you want to create:

  • Open an internal link
    An internal link within your SquaredUp DS instance. For example, when you want to link from an object's perspective to a dashboard that is relevant for that object.Internal links use only the part of the URL that comes after .../SquaredUpv[version number]/. For example, if the full URL to a dashboard is https://mysquaredup.com/SquaredUp/page/dashboard-enterprise-applications, you need to use /page/dashboard-enterprise-applications.
  • Open a web link
    A link to any URL. For example, when you have a dashboard for monitoring a website or application, you can add a link to that website or application. Web links have to include the http:// or https:// prefix. These links will open in a new tab by default.

  1. Only for perspectives: Decide when the action button will be shown.
    "only show when this perspective is selected":
    If you leave the checkbox activated, the action button will be visible only on this one perspective.
    If you deactivate the checkbox, the action button will be visible on all perspectives for all resources of the same type as the resource you are currently viewing.
  2. Click done to save the action button.
  3. You can add more buttons or click done to finish adding buttons.
  4. Click publish to make the changes live.
    You can now see your newly added action button.

FAQs and Troubleshooting

How can I add a perspective to the navigation bar?

See Pinned Perspectives.

I have duplicates of some perspectives on the perspective ribbon, what can I do?

This can happen if the same dashboard pack is imported more than once. The easiest way to resolve this is to delete the duplicate perspectives from SquaredUp DS. This can't be undone, so make sure you have a backup of SquaredUp DS (How to backup and restore SquaredUp DS for Azure).

Click on a duplicated perspective, click the edit button at the top right of the page, and then click the delete button.

Was this article helpful?


Have more questions or facing an issue?