Apply fails on a Free Tier tenancy?
A Free Tier tenancy allows only 2 Connector Hubs, and the stack needs one for logs plus one or more for metrics. Set Compartments to the one compartment you need metrics from, as in Choose what to forward.
Forward metrics and logs from your Oracle Cloud Infrastructure tenancy to Better Stack.
Deploy our Resource Manager stack to your tenancy. It runs inside your tenancy, so Better Stack never connects to it.
This integration provides:
Create a new Oracle Cloud source in Better Stack
A Free Tier tenancy allows only 2 Connector Hubs, and the stack needs one for logs plus one or more for metrics. Set Compartments to the one compartment you need metrics from, as in Choose what to forward.
By default, the stack forwards metrics of common OCI services from every compartment, and audit logs from your whole tenancy. To change that, set these fields in the stack form when you deploy it:
The stack finds the compartments with metrics when it runs, so apply it again in Resource Manager after you add compartments or start using new OCI services. To change these fields later, edit the stack's variables in Resource Manager, then apply it.
When we ingest your metrics, we convert them to Better Stack naming, oci.<namespace>.<metric>. For example, BytesFromNATgw in oci_nat_gateway becomes oci.nat_gateway.bytes_from_natgw. Each metric is tagged with compartment_id and unit, plus its OCI dimensions in snake case, such as resource_id and resource_name, and region when the resource has one.
Logs from OCI Logging, including _Audit audit logs, arrive with the event under data. Better Stack removes session tokens and request and response headers before storing them.
The stack creates a betterstack compartment, so remove or rename any compartment of that name first. It holds:
It also adds a policy that lets these connectors read metrics and logs and invoke the forwarder function.
These resources run in your tenancy, so Oracle bills them at your usual rates, including function invocations and the NAT gateway.
You can see exactly what gets deployed, including the forwarder code, at https://github.com/BetterStackHQ/oci
Destroying takes about 15 minutes, most of it removing the betterstack compartment.
Please let us know at hello@betterstack.com.
We're happy to help! π
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.