Questions tagged [oci-java-sdk]

0

votes
0

answer
3

Views

How to get more metrics(Threads count, Handles Count) other than the compute metrics offered by oracle cloud for an instance?

I launched the windows instance. I found the config.yml file in the oracle cloud agent folder under program files. config.yml file looks like below telemetry: endpoint_format: 'https://telemetry-ingestion.{}.oraclecloud.com' endpoint_path: /20180401/metrics submission_headers: accept: application/js...
karthik_varma_k
1

votes
0

answer
34

Views

How to read .pem file with a passphrase in Oracle Cloud Infrastructure?

I need to monitor Oracle Cloud Compute VM using REST API. I found the following lines of code for Signing with headers in Oracle documentation. String privateKeyFilename = '/.oci/oci_api_key.pem'; PrivateKey privateKey = loadPrivateKey(privateKeyFilename); RequestSigner signer = new RequestSig...
karthik_varma_k
1

votes
4

answer
72

Views

How to upload a file to OCI Object storage

I am trying to use UploadObjectExample.java code to upload a file to OCI object storage. I am running into connection timeout error while connecting to the object storage URL. The same config file is used by OCI CLI to successfully upload files to OCI config. Here is the Error log: Exception in thr...
Raje