Skip to content

Commit 73b355f

Browse files
authored
Added basic monitoring guidance
1 parent 8b254d0 commit 73b355f

File tree

1 file changed

+11
-4
lines changed
  • samples/oci-objectstorage-list-objects-python

1 file changed

+11
-4
lines changed

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The function calls the following OCI Python SDK classes:
88
* [Resource Principals Signer](https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/signing.html#resource-principals-signer) to authenticate
99
* [Object Storage Client](https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/object_storage/client/oci.object_storage.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

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

57-
![user input icon](../images/userinput.png)
57+
![user input icon](./images/userinput.png)
5858

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

87-
![user input icon](../images/userinput.png)
87+
![user input icon](./images/userinput.png)
8888

8989
```
9090
fn -v deploy --app <app-name>
@@ -97,7 +97,7 @@ fn -v deploy --app myapp
9797

9898
## Test
9999

100-
![user input icon](../images/userinput.png)
100+
![user input icon](./images/userinput.png)
101101
```
102102
echo -n <JSON-object> | fn invoke <app-name> <function-name>
103103
```
@@ -106,3 +106,10 @@ e.g.
106106
echo -n '{"bucketName": "<bucket-name>"}' | fn invoke myapp oci-objectstorage-list-objects-python
107107
```
108108
You should see a list of objects from the bucket in the terminal.
109+
110+
111+
## Monitoring Functions
112+
113+
Learn how to configure basic observability for your function using metrics, alarms and email alerts:
114+
* [Basic Guidance for Monitoring your Functions](../basic-observability/functions.md)
115+

0 commit comments

Comments
 (0)