---
title: OCI Internet Gateway
description: >-
  Internet Gateway is an optional gateway you can add to a VCN to enable direct
  connectivity to the internet.
breadcrumbs: Docs > Integrations > OCI Internet Gateway
---

# OCI Internet Gateway
Integration version1.0.0
## Overview{% #overview %}

An Oracle Cloud Infrastructure (OCI) Internet Gateway is an optional gateway you can add to a VCN (Virtual Cloud Network) to enable direct connectivity to the internet. Connections that originate in a VCN and are destined for a public IP address (either inside or outside the VCN) go through the internet gateway. Connections that originate outside the VCN and are destined for a public IP address inside the VCN go through the internet gateway.

This integration collects metrics to monitor and alert on the the health, capacity, and performance of your Internet Gateways by collecting metrics from the [oci_internet_gateway](https://docs.oracle.com/en-us/iaas/Content/Network/Reference/IGWmetrics.htm) namespace.

## Setup{% #setup %}

### Installation{% #installation %}

After setting up the [Oracle Cloud Infrastructure](https://docs.datadoghq.com/integrations/oracle_cloud_infrastructure.md) integration, ensure that any namespaces mentioned in the Overview are included in your [Connector Hub](https://cloud.oracle.com/connector-hub/service-connectors).

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **oci.internet\_gateway.bytes\_from\_igw**(gauge)         | Number of bytes sent from Internet Gateway to VCN (to which Internet Gateway is attached).*Shown as byte*                                      |
| **oci.internet\_gateway.bytes\_to\_igw**(gauge)           | Number of bytes sent from VCN (to which Internet Gateway is attached) to Internet Gateway.*Shown as byte*                                      |
| **oci.internet\_gateway.packet\_drops\_from\_igw**(count) | Number of packets from Internet Gateway to VCN (to which Internet Gateway is attached) that were dropped by Internet Gateway.*Shown as packet* |
| **oci.internet\_gateway.packet\_drops\_to\_igw**(count)   | Number of packets from VCN (to which Internet Gateway is attached) to Internet Gateway that were dropped by Internet Gateway.*Shown as packet* |
| **oci.internet\_gateway.packets\_from\_igw**(count)       | Number of packets sent from Internet Gateway to VCN (to which Internet Gateway is attached).*Shown as packet*                                  |
| **oci.internet\_gateway.packets\_to\_igw**(count)         | Number of packets sent from VCN (to which Internet Gateway is attached) to Internet Gateway.*Shown as packet*                                  |

### Service Checks{% #service-checks %}

OCI Internet Gateway Metrics does not include any service checks.

### Events{% #events %}

OCI Internet Gateway Metrics does not include any events.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
