DataDog is a cloud monitoring service that can be used to monitor the endpoint volume (Usage records) of the 1NCE SIM cards using custom dashboards and trigger events. The following metrics can be viewed in DataDog: endpoint.volume, endpoint.volume_tx, endpoint.volume_rx, and endpoint.cost.
For the DataDog Data Streamer configuration, a account with a new API Key needs to be setup. Afterwards, the Data Streamer integration in the 1NCE Portal can be setup. The incoming usage records can be seen on the DataDog Metrics Explorer. Follow these steps to obtain the needed parameters for the 1NCE Portal configuration.
Please note that only the DataDog Account Regions US, US3, EU, US1FED are available for the 1NCE Data Streamer integration.
- Setup a DataDog Account in of of the supported regions.
- Go to the Organization Settings on the main screen by clicking on the User Profile.
- Select API Keys from the settings menu.
- Click New Key in the top right to create a new API Key.
- Provide a Name for the API Key.
- Click Generate Key to issue a new API Key.
- The next window will show the Key ID and the API Key.
- The Key ID is a unique identifier for the API Key and should not be confused with the actual (API) Key.
- Click Copy Key to copy the API Key.
- On the overview page, all API Keys are listed. By clicking on a Key, details of the specific API Key are shown.
- From there the API Key can be copied or revoked.
- Copy & Paste the API Key to the configuration in the 1NCE Portal.
- Once setup in the 1NCE Portal, the Usage records of all 1NCE SIMs of the used organization will be provided to DataDog.
- Go to Metrics > Summary of the DataDog project to see the available streams. Please note, SIMs need to generate some recent usage events to make the DataDog integration appear for the first time.
For setting up a DataDog Data Streamer integration in the 1NCE Portal, the DataDog API Key and the Region of the used DataDog Account is needed. As Stream Type only Usage Data should be used as Event records are not supported by DataDog.
- API Type: Select DataDog to customize the settings.
- Stream Type: Choose Usage Data records as Events are not supported in DataDog.
- Name: Identification name used in the Connectivity Management Platform for labeling the specific integration.
- API Key: The API Key created in the DataDog settings.
- Region: Region of the DataDog Account.
- Click Save to create the Data Streamer integration.
For testing a DataDog integration, an IoT or mobile network device (e.g., smartphone) with an active 1NCE SIM has to be used to generate Usage records. Please note that DataDog only supports Usage Records. Therefore, the Data or SMS Service has to be used to generate some usage.
- Place and configure (roaming, APN, data roaming) the 1NCE SIM in a capable mobile device.
- For testing the two Usage record types, data and SMS, the following procedures can be executed:
- SMS usage: Send a MO-SMS from the SIM device or send a MT-SMS using the SMS Console or API to an active 1NCE SIM.
- Data usage: Allow data roaming, configure the APN and create a data session. Smartphones will automatically create a data session. Use some data service (e.g., IMCP Ping, TCP/UDP traffic, open a website). Close the data session by deactivating the PDP session or disconnecting the device from the network.
- Usage records are only written once the data and SMS volume has been actively used. Ensure that the SMS is finalized and delivered. For data usage, the current data session needs to be closed to get an immediate usage record in the Data Streamer.
The incoming events in DataDog can be viewed in the Metrics Summary. All Usage Records of the 1NCE SIMs in the organization account will be forwarded to DataDog.
Updated about 1 month ago