Skip to content

Commit 8b254d0

Browse files
authored
Added basic monitoring guidance
1 parent 382f742 commit 8b254d0

File tree

1 file changed

+12
-5
lines changed
  • samples/oci-objectstorage-list-objects-java

1 file changed

+12
-5
lines changed

samples/oci-objectstorage-list-objects-java/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The function calls the following OCI Java SDK classes:
88
* [ResourcePrincipalAuthenticationDetailsProvider](https://docs.cloud.oracle.com/en-us/iaas/tools/java/latest/com/oracle/bmc/auth/ResourcePrincipalAuthenticationDetailsProvider.html) to authenticate
99
* [ObjectStorageClient](https://docs.cloud.oracle.com/iaas/tools/java/latest/com/oracle/bmc/objectstorage/ObjectStorageClient.html) to interact with Object Storage
1010

11-
As you make your way through this tutorial, look out for this icon ![user input icon](../images/userinput.png).
11+
As you make your way through this tutorial, look out for this icon ![user input icon](./images/userinput.png).
1212
Whenever you see it, it's time for you to perform an action.
1313

1414

@@ -53,7 +53,7 @@ ALL {resource.type = 'fnfunc', resource.compartment.id = 'ocid1.compartment.oc1.
5353
Create a new policy that allows the dynamic group to `inspect objects` in
5454
the functions related compartment.
5555

56-
![user input icon](../images/userinput.png)
56+
![user input icon](./images/userinput.png)
5757

5858
Your policy should look something like this:
5959
```
@@ -81,7 +81,7 @@ In Cloud Shell, run the *fn deploy* command to build the function and its depend
8181
push the image to the specified Docker registry, and deploy the function to Oracle Functions
8282
in the application created earlier:
8383

84-
![user input icon](../images/userinput.png)
84+
![user input icon](./images/userinput.png)
8585

8686
```
8787
fn -v deploy --app <app-name>
@@ -95,7 +95,7 @@ fn -v deploy --app myapp
9595

9696
The function requires the config value *NAMESPACE* to be set.
9797

98-
![user input icon](../images/userinput.png)
98+
![user input icon](./images/userinput.png)
9999

100100
Use the *fn* CLI to set the config value at the application level (if multiple functions need the same config value):
101101

@@ -114,7 +114,7 @@ Note that the config value can also be set at the function level.
114114

115115
Use the *fn* CLI to invoke your function with your own bucket name and app name:
116116

117-
![user input icon](../images/userinput.png)
117+
![user input icon](./images/userinput.png)
118118
```
119119
echo -n '<bucket-name>' | fn invoke <app-name> <function-name>
120120
```
@@ -123,3 +123,10 @@ e.g.
123123
echo -n 'mybucket' | fn invoke myapp oci-objectstorage-list-objects-java
124124
```
125125
Upon success, you should see either a list of objects on your terminal.
126+
127+
128+
## Monitoring Functions
129+
130+
Learn how to configure basic observability for your function using metrics, alarms and email alerts:
131+
* [Basic Guidance for Monitoring your Functions](../basic-observability/functions.md)
132+

0 commit comments

Comments
 (0)