Index of every page on this site: llms.txt
All skills
launchdarkly avatar

/create-graph

@f0ee110 official
Run it yourself

Creates observability dashboards and graphs from logs, traces, errors, sessions, metrics, and events data by previewing charts inline and saving them to a dashboard.

Use this Skill: https://skilld.dev/gh/launchdarkly/ai-tooling/create-graph

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

enums.md

≈589 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Exact enum values for create-graph and preview-graph

Load this file when you're about to call create-graph or preview-graph. Use the other values exactly as written; only productType accepts any casing.

productType (required)

One of these; the graph tools accept any casing, and PascalCase is conventional:

  • Logs
  • Traces
  • Errors
  • Sessions
  • Metrics
  • PAEvents (product-analytics events: custom events with type="track" key="<name>", page or screen views with type="*_view" view_name="<path>")
  • Events (legacy session_events source, filtered with event="<name>")

expressions (required, list of objects)

Each expression MUST have both keys:

{
  "aggregator": "Count",
  "column": ""
}

aggregator values

  • Count
  • CountDistinct
  • CountDistinctKey
  • Min
  • Avg
  • P50
  • P90
  • P95
  • P99
  • Max
  • Sum

Do NOT use count_distinct, Count_distinct, countdistinct, or any snake_case variant. It's CountDistinct — PascalCase, no underscore.

column is always required

Even for Count where no column is needed. Pass an empty string:

{"aggregator": "Count", "column": ""}

Omitting column crashes the call with an argument-validation error.

type (graph chart type)

  • Line chart
  • Bar chart
  • Table

bucketBy

Default: Timestamp. Usually fine to omit or leave as default. For non-time aggregations (e.g., grouping by service across a fixed window), omit bucketBy and rely on groupBy.

get-keys argument formats

Different from create-graph — get-keys wants lowercase productType and full ISO timestamps:

  • productType: lowercase — logs, traces, sessions, errors, metrics, paevents, events
  • startDate / endDate: full ISO with time component — 2026-03-04T00:00:00Z, not date-only 2026-03-04

The graph tools take productType in any case; get-keys needs it lowercase.

Quick sanity check

Before calling create-graph, re-read your arguments:

  • projectKey present? ✓
  • productType one of the values above? ✓
  • expressions is a list of objects each with aggregator and column? ✓
  • aggregator is PascalCase (no underscore)? ✓
  • column present even for Count? ✓

If any answer is no, fix it before calling. API errors are expensive round-trips.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts11d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    The skill provides instructions for creating observability dashboards and graphs using LaunchDarkly tools. No security issues were detected.

  • Socket11d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

Signed by skilld at f0ee110. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
compatibility
Requires the remotely hosted LaunchDarkly MCP server
metadata
{
  "author": "launchdarkly",
  "version": "0.1.0"
}

README badge

README badge for launchdarkly/ai-tooling/create-graph