Skip to content

Commit

Permalink
[DOC] Fix wrong date command in push HTTP API doc (#4206)
Browse files Browse the repository at this point in the history
  • Loading branch information
knylander-grafana authored Oct 18, 2024
1 parent 67be243 commit 1652db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/tempo/api_docs/pushing-spans-with-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ curl -X POST -H 'Content-Type: application/json' http://localhost:4318/v1/traces
}'
```

Note that the `startTimeUnixNano` field is in nanoseconds and can be obtained by any tool that provides the epoch date in nanoseconds (for example, under Linux, `date +%s%8N`). The `endTimeUnixNano` field is also in nanoseconds, where 100000000 nanoseconds is 100 milliseconds.
Note that the `startTimeUnixNano` field is in nanoseconds and can be obtained by any tool that provides the epoch date in nanoseconds (for example, under Linux, `date +%s%N`). The `endTimeUnixNano` field is also in nanoseconds, where 100000000 nanoseconds is 100 milliseconds.

1. Copy and paste the curl command into a text editor.

Expand Down

0 comments on commit 1652db2

Please sign in to comment.