Skip to content

Commit 990a5b3

Browse files
Update screenshots on docs intro page (#419)
1 parent 05517d6 commit 990a5b3

8 files changed

+4
-4
lines changed
-58.5 KB
Loading
-182 KB
Loading
-218 KB
Loading
-125 KB
Loading
-104 KB
Loading
-101 KB
Loading
-3.03 KB
Loading

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,17 @@ and it'll end up as structured data in our platform ready to be queried.
225225
For example, using data from the `User` model above, we could list users from the USA:
226226

227227
```sql
228-
SELECT attributes->'result'->>'name' as name, age(attributes->'result'->>'dob') as age
228+
SELECT attributes->'result'->>'name' as name, extract(year from (attributes->'result'->>'dob')::date) as "birth year"
229229
FROM records
230-
WHERE attributes->'result'->>'country_code' = 'USA'
230+
WHERE attributes->'result'->>'country_code' = 'USA';
231231
```
232232

233233
![Logfire explore query screenshot](images/index/logfire-screenshot-explore-query.png)
234234

235235
You can also filter to show only traces related to users in the USA in the live view with
236236

237-
```SQL
238-
attributes->'result'->>'country_code' = 'USA'
237+
```sql
238+
attributes->'result'->>'name' = 'Ben'
239239
```
240240

241241
![Logfire search query screenshot](images/index/logfire-screenshot-search-query.png)

0 commit comments

Comments
 (0)