TelemetryUI.Theme (telemetry_ui v5.1.0)

View Source

Customize the UI of the web view.

  • primary_color: Example: #ff0000, Used for the title and first color on the charts
  • title: Example: "My metrics", Used for the HTML page title and the title in the header.
  • description: Example: "HTTP, GraphQL and Database metrics", Used for the HTML description tag.
  • logo: SVG logo in string used for the favicon and header.
  • scale: List of hex colors used in the charts.
  • share_key: 16 characters string used to hash the shared page.
  • share_path: Path in string starting by a / used to generate the shared page. It’s difference from the metrics page since it does not require authentication.
  • frame_options: Example: [{:last_30_minutes, 30, :minute}, {:last_2_hours, 120, :minute}], Used to generate the time frame in the header.