---
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: 183
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/stdlib/contrib/sranka/opsgenie/
date: '2023-09-12T23:33:31-06:00'
lastmod: '2023-09-12T23:33:31-06:00'
---

* Flux 0.84.0+

InfluxDB support

> [!Important]
> 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/)
