Skip to content

Commit

Permalink
Fixed doc referece to job cprofile file location (#5526)
Browse files Browse the repository at this point in the history
* Fixed doc referece to job cprofile file location

* Update changes/5526.fixed
  • Loading branch information
itdependsnetworks committed Apr 3, 2024
1 parent c6ce7db commit d7ccc97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/5526.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed doc reference to job cprofile file location.
2 changes: 1 addition & 1 deletion nautobot/docs/development/jobs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ A full description on how to deal with the output of `cProfile` can be found in
```python
import pstats
job_result_uuid = "66b70231-002f-412b-8cc4-1cc9609c2c9b"
stats = pstats.Stats(f"/tmp/job-result-{job_result_uuid}.pstats")
stats = pstats.Stats(f"/tmp/nautobot-jobresult-{job_result_uuid}.pstats")
stats.sort_stats(pstats.SortKey.CUMULATIVE).print_stats(10)
```

Expand Down

0 comments on commit d7ccc97

Please sign in to comment.