---
title: victorops package
description: The victorops package provides functions that send events to VictorOps.
url: https://docs.influxdata.com/flux/v0/stdlib/contrib/bonitoo-io/victorops/
estimated_tokens: 241
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/stdlib/contrib/bonitoo-io/victorops/
date: '2023-09-12T23:33:31-06:00'
lastmod: '2023-09-12T23:33:31-06:00'
---

* Flux 0.108.0+

InfluxDB support

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

The `victorops` package provides functions that send events to [VictorOps](https://victorops.com/).
Import the `contrib/bonitoo-io/victorops` package:

```js
import "contrib/bonitoo-io/victorops"
```

**Note**: VictorOps is now Splunk On-Call

## Set up VictorOps

To send events to VictorOps with Flux:

1. [Enable the VictorOps REST Endpoint Integration](https://help.victorops.com/knowledge-base/rest-endpoint-integration-guide/).
2. [Create a REST integration routing key](https://help.victorops.com/knowledge-base/routing-keys/).
3. [Create a VictorOps API key](https://help.victorops.com/knowledge-base/api/).

## Functions

* [victorops.alert()](/flux/v0/stdlib/contrib/bonitoo-io/victorops/alert/)
* [victorops.endpoint()](/flux/v0/stdlib/contrib/bonitoo-io/victorops/endpoint/)
