https://github.com/dtan4/sendgrid2datadog
Send SendGrid metrics to DataDog
https://github.com/dtan4/sendgrid2datadog
datadog sendgrid
Last synced: about 1 year ago
JSON representation
Send SendGrid metrics to DataDog
- Host: GitHub
- URL: https://github.com/dtan4/sendgrid2datadog
- Owner: dtan4
- License: mit
- Created: 2015-08-26T08:07:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T06:39:53.000Z (over 8 years ago)
- Last Synced: 2025-05-06T00:59:38.543Z (about 1 year ago)
- Topics: datadog, sendgrid
- Language: Go
- Homepage:
- Size: 74.2 KB
- Stars: 18
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SendGrid2Datadog
[](https://travis-ci.org/dtan4/sendgrid2datadog)
[](https://quay.io/repository/dtan4/sendgrid2datadog)
Send SendGrid metrics to Datadog

```
+----------+
| |
| SendGrid |
| |
+----------+
|
| Event Notification
|
+=====|===============================+
| | SendGrid2Datadog |
| v |
| +------------+ +-----------+ | +---------+
| | | | | | | |
| | API Server | -----> | DogStatsD |-----------> | DataDog |
| | | | | | | |
| +------------+ +-----------+ | +---------+
| |
+=====================================+
```
## Install
### Heroku
[](https://heroku.com/deploy)
### Kubernetes
```bash
kubectl create -f kubernetes/namespace.yaml
kubectl create -f kubernetes/service.yaml
# Use envFrom (>= k8s 1.6)
kubectl create -f kubernetes/deployment-envFrom.yaml
# or else
kubectl create -f kubernetes/deployment.yaml
```
## Environment variables
|Kubernetes Secret name|Key|Description|Required|
|---|---|---|---|
|`sendgrid2datadog`|`BASIC_AUTH_USERNAME`|basic auth username||
|`sendgrid2datadog`|`BASIC_AUTH_PASSWORD`|basic auth password||
|`dd-agent`|`API_KEY`|Datadog API key|Required|
If both `BASIC_AUTH_USERNAME` and `BASIC_AUTH_PASSWORD` are provided, basic auth will be enabled.
## License
[](LICENSE)