---
title: opsgenie package
description: The opsgenie package provides functions that send alerts to Atlassian Opsgenie using the Opsgenie v2 API.
url: https://docs.influxdata.com/flux/v0/stdlib/contrib/sranka/opsgenie/
estimated_tokens: 333
product: Flux
version: v0
---

# opsgenie package

-   Flux 0.84.0+
-   View InfluxDB support

The `opsgenie` package is a user-contributed package maintained by the [package author](#package-author-and-maintainer).

The `opsgenie` package provides functions that send alerts to [Atlassian Opsgenie](https://www.atlassian.com/software/opsgenie) using the [Opsgenie v2 API](https://docs.opsgenie.com/docs/alert-api#create-alert). Import the `contrib/sranka/opsgenie` package:

```js
import "contrib/sranka/opsgenie"
```

## Functions

-   [opsgenie.endpoint()](/flux/v0/stdlib/contrib/sranka/opsgenie/endpoint/)
-   [opsgenie.respondersToJSON()](/flux/v0/stdlib/contrib/sranka/opsgenie/responderstojson/)
-   [opsgenie.sendAlert()](/flux/v0/stdlib/contrib/sranka/opsgenie/sendalert/)
