Skip to content

Commit

Permalink
Moved the images above the code block to avoid the breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
x8a committed Jul 2, 2021
1 parent d3bc7da commit e21d9a4
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -1351,16 +1351,16 @@ SELECT histogram(duration, 10, 20) FROM PageView SINCE 1 week ago
>
Use the `name` attribute to return a score for a specific transaction, or return an overall Apdex by omitting `name`. This query returns an Apdex score for the **Controller/notes/index** transaction over the last hour:

```
SELECT apdex(duration, t: 0.5) from Transaction
WHERE name='Controller/notes/index' SINCE 1 hour ago
```

![crop-apdex-function](./images/screen-apdex-function.png "crop-apdex-function")
![crop-apdex-function](./images/screen-apdex-function.png "crop-apdex-function")

<figcaption>
The `apdex` function returns an [Apdex score](/docs/apm/new-relic-apm/apdex/apdex-measuring-user-satisfaction) that measures user satisfaction with your site. Arguments are a response time attribute and an Apdex T threshold in seconds.
</figcaption>

```
SELECT apdex(duration, t: 0.5) from Transaction
WHERE name='Controller/notes/index' SINCE 1 hour ago
```
</Collapser>

<Collapser title="Get overall Apdex for your app">
Expand Down

0 comments on commit e21d9a4

Please sign in to comment.