Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit ec4fc00

Browse files
author
Mark Stumpf
committed
add package reference in example
1 parent 7388d8c commit ec4fc00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ The SignalFx Java Azure Function Wrapper is a wrapper around an Azure Function,
2424

2525
Wrap the code inside the handler as followed:
2626
```java
27+
import com.signalfx.azurefunctions.wrapper.MetricWrapper;
28+
2729
@FunctionName("Hello-SignalFx")
2830
public HttpResponseMessage<String> hello(HttpRequestMessage<Optional<String>> request,
2931
final ExecutionContext context) {
3032
MetricWrapper wrapper = new MetricWrapper(context);
33+
...
3134
// your code
35+
...
3236
} catch (Exception e) {
3337
wrapper.error();
3438
} finally {

0 commit comments

Comments
 (0)