Skip to content

Commit 37ff678

Browse files
author
Ariel Ben-Yehuda
committed
wording
1 parent d5e60a8 commit 37ff678

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/profiler.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,14 @@ impl ProfilerBuilder {
455455
/// since the [LocalReporter] does not need that.
456456
///
457457
/// This is useful for testing, since metadata auto-detection currently only works
458-
/// on EC2 or Fargate instances. The local reporter should normally not be used in
459-
/// production, since it will not clean up JFR files.
458+
/// on [Amazon EC2] or [Amazon Fargate] instances.
459+
///
460+
/// The local reporter should normally not be used in production, since it will
461+
/// not clean up JFR files. Instead, you can use a pre-existing [`Reporter`]
462+
/// or write your own (see [`ProfilerBuilder::with_reporter`]).
463+
///
464+
/// [Amazon EC2]: https://aws.amazon.com/ec2
465+
/// [Amazon Fargate]: https://aws.amazon.com/fargate
460466
///
461467
/// ## Example
462468
///

0 commit comments

Comments
 (0)