Configuring advanced topology settings

You can define advanced topology settings to control how the topology UI works for all users.

You can change settings, such as the URLs for trusted sites or geolocation tile servers, the required properties for tooltips or relationship type styles, or the maximum hop numbers a user can choose in the topology viewer.

Procedure

  1. Log in to the IBM Cloud Pak for AIOps console.

  2. From the main navigation, expand Operate and click Resource management.

  3. Click the Settings icon that is next to the search field. Click Topology configuration.

  4. On the Advanced setting card, click Configure.

  5. From the Advanced topology settings page, set or change any of the settings or values to meet your needs.

    The settings are included within these categories:

  6. After you have completed your changes, click Save to save your changes and return to the Topology configuration page.

Topology rendering

Within the Topology rendering section, you can set or change the following settings:

  • Default hop type for topology viewer

    Choose the default hop type to be applied when viewing a resource in the Topology Viewer. The default setting is 'element to element'.

  • Maximum number of hops allowed

    Select a value in the range 2 - 30 from the drop-down list. The default maximum hop count is `4``.

    Important: Ensure that you set a maximum hop count that does not overload your system data capacity when the maximum hop count is selected.

  • Historical changes threshold

    This setting defines the maximum size of a topology based on the number of resources for which the historical changes indicators are enabled in delta mode.

    Set the maximum topology size by entering a value up to, but not exceeding 50.

  • Include adjacent relationships on topological hops

    Select whether to retrieve all relationships between resources within a topology by enabling or disabling the toggle. By default, this setting is enabled and all relationships are retrieved.

  • Properties required for tooltips or resource and relationship styling

    To improve system performance only specific resource and relationship properties are loaded into the topology viewer. You can specify more properties to be retrieved by adding the properties to the table. These required properties can be uses in topology tooltips, custom status tools or to customize UI elements with JavaScript.

    To add a property, enter the property name within the text field and click Add +.

    After you have added a property, you can choose whether the property can be displayed in a tooltip. If you want to exclude the property from tooltips, clear the Show in tooltip? checkbox.

  • Resource types to block from topologies

    Excluded resource types do not display in the Topology Viewer. Excluding resource types can optimize performance when complex topologies are being rendered. You can see the list of excluded types on the Filter toolbar of a topology visualization.

    To exclude a resource type from being displayed in the topology viewer, enter the resource type within the text field and click Add +.

    Note: You cannot exclude the seed resource of a topology.

    Tip: If an administrator unblocks a resource or relationship type while it is being viewed, the browser in which the topology viewer is displayed must be restarted for the unblocked types to appear.

  • Relationship types to block from topologies

    Excluded relationship types do not display in the Topology Viewer. Excluding relationship types can optimize performance when complex topologies are being rendered. You can see the list of excluded types on the Filter toolbar of a topology visualization.

    To exclude a relationship type from being displayed in the topology viewer, enter the relationship type within the text field and click Add +.

  • Properties to hide in the resource details page

    Excluded properties do not display on the Resource details page. In order to reduce visual clutter, you can hide properties that are of no interest to your operator users.

    If a property has been excluded from view by an administrator, it is removed from the tabular view, but remains visible in JSON format.

    To exclude a property from being displayed on the Resource details page, enter the property within the text field and click Add +.

Topology tools

Within the Topology tools section, you can add trusted websites that can be accessed through HTTP.

If you need to link to an HTTP address instead of HTTPS while writing a custom tool definition, and need to request data from a site that uses HTTP instead of HTTPS, then you can use the UI server as a proxy. The URL to the HTTP proxy takes the actual target HTTP site URL as a parameter. The proxy then sends the request itself, and returns the response back to the browser.

For security reasons, the HTTP proxy can access only the URLs defined by an administrator user as 'trusted sites'.

The trustedSites property values are a comma-separated list of the trusted sites to which the proxy server can link, and from which it can retrieve information.

Trusted sites operate with a 'starts with' condition.

To add a trusted site, complete the following steps:

  1. Within the Trusted website URL table, enter the URL of the trusted site.

    For example, if you include the following URLs, the HTTP proxy permits requests for all target URLs that start with included trusted URL.

    • www.ibm.com
    • data-server.intranet.com:8080/network/statistics

    For instance, you can use the proxy for URLs, such as www.ibm.com/cloud or data-server.intranet.com:8080/network/statistics/1893713/info.

    You cannot use the proxy for URls such as www.ibm.co.uk or data-server.intranet.com:8080

  2. Click Add +.

Resource maps

The geospatial mapping feature lets you plot resources on a Resource map at the required zoom level, and also includes the ability to filter resources according to their geospatial areas.

Important: To enable geospatial mapping, you must configure a tile server to provide map image tiles. Tile server providers are available with a range of licenses from free for limited use to paid for. Alternatively, you can deploy an on-site tile server. Any tile provider or mapping data organization you use requires an attribution credit on all maps displayed.

Tip: For more information and examples of configuring, using or creating a tile server, see the Switch to OpenStreetMap website.

To add a resource map site, complete the following steps:

  1. Enter the URL for the map in the Map tile server URL template field.

    Example URL

    https://tile.<example>.org/{z}/{x}/{y}.png
    

    Where {z} is the zoom level, and {x} and {y} the tile coordinates.

    Tip: Variations on this basic format are possible. See the TileLayer section on the Leaflet site for more information.

  2. Validate your map using the Test button (which attempts to fetch a single tile image with the three coordinate placeholders set to zero (0)).

    Note: If your server does not pass the test, the Save button remains unavailable.

  3. Set server attribution.

    Server attribution is in the form of HTML and should be provided in your tile provider's documentation.

  4. Set the parameters for the cluster threshold and the maximum pixel size.

    CAUTION: Accept the default settings unless advised otherwise by an IBM Support representative. Changing your clustering granularity and maximum pixel size affects the performance of your system.

    a. Set Map clustering thresholds (by number of resources).

    When a number of resources are located in close proximity, they are displayed on the Resource map as a cluster. The lower a clustering threshold is set, the coarser your clustering becomes and the more resources will be included when resources are clustered on the Resource map. This may improve system performance.

    • Threshold 1

      • Default is 10000.
      • Up to this number of resources, k-means clustering is used, which automatically determines the best cluster split of resources based on the distance between resources.
    • Threshold 2

      • Default is 30000.
      • Up to this number of resources, convex grid clustering is used, which splits the area where resources are into an X by X grid based on the map clustering pixel size, and then displays those resources within an appropriately shaped polygon.
    • Threshold 3

      • Default is 50000.
      • Up to this number of resources, the grid clustering is displayed as a standard shape determined by the cluster boundaries (rather than a bespoke polygon).
    • Threshold 4

      • Default is 100000.
      • As for the previous threshold, except a larger grid size is used.
      • Above this number, grid clustering with a very large grid size is used.

    b. Set Map clustering pixel size.

    The default is 150. Increasing the maximum pixel size for clustering resources may improve performance at the cost of cluster resolution.

Once a map has been defined, it can be accessed from the Resource management and More details pages, as described here.