Skip to main content

Client identification compacting patterns

Concept

Client identifications are extracted from basic auth, certificates or JWT tokens.

These labels may be very long:

  • Emails
  • FQDN
  • LDAP pointers
  • ...

The compacting patterns are used against client identification labels to compact them to reduce the visual footprint while still being identifiers.
This is purely for visual comfort 😊.

tip

Use this feature to reduce the visual footprint of clients on the map, the sequence diagram, the grid, the dashboard.

CompactClients.gif

Configuration

Patterns are defined in the Main settings and may be shared by the selected team.

ClientsCompacting.png

How does it work?

  1. The patterns are matched in order against the identification label.
    • They must include a capture group
  2. The capture groups are extracted of the label.
  3. The groups are concatenated by '.' to return the 'compacted name' of the client.
  4. First pattern to match wins.
  5. If no 'compacted name' is return, the full identification label is displayed.

Where is it used?

Client identification compacting feature is available to compact the name of clients on:

  • Dashboard
  • Map
  • Sequence diagram
  • Stats
  • Grid
  • Details

Examples

Pattern: ^(.*?)@sample\.com(?:_\d+)?$

IdentificationResult
eventcarrier_poller@sample.com_20190717eventcarrier_poller
pollutiondays2sampleapp_job@sample.com_20240113pollutiondays2sampleapp_job

Pattern: ^(.*?)-test-(\w+?)\d+

IdentificationResult
user-test-readOnly21@sample.comuser.readOnly
user-test-readWrite5@sample.comuser.readwrite