---
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: 410
product: Flux
version: v0
---

# victorops package

-   Flux 0.108.0+
-   View InfluxDB support

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/)
