Skip to content

Commit 646f359

Browse files
authored
fix(docs): Widget Library docs bug fixes (#4667)
Mis-named widget and updating the query condition.
1 parent 36a2538 commit 646f359

File tree

1 file changed

+10
-10
lines changed
  • src/docs/product/dashboards/widget-library

1 file changed

+10
-10
lines changed

src/docs/product/dashboards/widget-library/index.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The widget library contains a collection of prebuilt widgets you can add to your
1414

1515
The library includes the following widgets:
1616

17-
- **Distribution Duration**: A multi-y axis chart visualizing the distribution of transaction duration across various percentiles (p50, p75, and p95)
17+
- **Duration Distribution**: A multi-y axis chart visualizing the distribution of transaction duration across various percentiles (p50, p75, and p95)
1818
- **High Throughput Transactions**: The top five transactions with the largest number of events
1919
- **LCP by Country**: World map showing the p75 of page load times for each country
2020
- **Miserable Users**: The total number of unique users who have experienced slow transactions (transaction duration greater than 1200ms)
@@ -29,23 +29,23 @@ You can change the title, queries, fields, visualization types, and sort order o
2929

3030
### Performance across release versions
3131

32-
To monitor how your app is performing on a certain release, you can modify the "Distribution Duration" widget by adding the release version to the search condition:
32+
To monitor how your app is performing on a certain release, you can modify the "Duration Distribution" widget by adding the release version to the search condition:
3333

34-
- Search condition 1: `!event.type:error release.version:{version}`
34+
- Search condition 1: `event.type:transaction release.version:{version}`
3535

3636
To compare performance with another release version, you can add another query by clicking the "Add Query" button and querying for a different release version:
3737

38-
- Search condition 2: `!event.type:error release.version:{another_version}`
38+
- Search condition 2: `event.type:transaction release.version:{another_version}`
3939

4040
You can also compare performance before/and after a certain version with the following conditions:
4141

42-
- Search condition 1: `!event.type:error release.version:<{version}`
43-
- Search condition 2: `!event.type:error release.version:>={version}`
42+
- Search condition 1: `event.type:transaction release.version:<{version}`
43+
- Search condition 2: `event.type:transaction release.version:>={version}`
4444

4545

4646
### Response thresholds
4747

48-
The "Distribution Duration" widget shows the spread of transaction duration times. This visualization can be modified to show if transaction durations are within certain target thresholds and present them as "satisfactory", "tolerable", or "frustrating" transactions. To create this type of visualization, change the "Visualization Display" to "Area Chart". Area charts stack results and are more appropriate for results that are cumulative:
48+
The "Duration Distribution" widget shows the spread of transaction duration times. This visualization can be modified to show if transaction durations are within certain target thresholds and present them as "satisfactory", "tolerable", or "frustrating" transactions. To create this type of visualization, change the "Visualization Display" to "Area Chart". Area charts stack results and are more appropriate for results that are cumulative:
4949

5050
- Visualization Display: `Area Chart`
5151

@@ -55,15 +55,15 @@ Set one of the y-axis values to `count()` and remove the other two axes:
5555

5656
To the first query, add the search condition for satisfactory transaction duration (this example uses 300ms as the satisfactory response threshold):
5757

58-
- Search condition 1: `!event.type:error transaction.duration:<300`
58+
- Search condition 1: `event.type:transaction transaction.duration:<300`
5959

6060
Add another query for the tolerable condition by clicking the "Add Query" button. In this example, we're using the [Apdex](/product/performance/metrics/#apdex) definition where tolerable response times are between the satisfactory threshold and four times the satisfactory threshold:
6161

62-
- Search condition 2: `!event.type:error (transaction.duration:<1200 AND transaction.duration:>=300)`
62+
- Search condition 2: `event.type:transaction (transaction.duration:<1200 AND transaction.duration:>=300)`
6363

6464
Finally, add a third query for for the frustrating transaction duration:
6565

66-
- Search condition 3: `!event.type:error transaction.duration:>=1200`
66+
- Search condition 3: `event.type:transaction transaction.duration:>=1200`
6767

6868
The chart now shows cumulative counts at different response time thresholds.
6969

0 commit comments

Comments
 (0)