HUB
Sign inSign up
swi-bitbucket logo

solarwinds/swi-bitbucket

Verified Publisher

By SolarWinds

•Updated over 9 years ago
Archived

Container for integrating Bitbucket push events with SolarWinds Librato.

Image
Integration & delivery
Monitoring & observability
0

597

solarwinds/swi-bitbucket repository overview

Push events from Bitbucket are translated and forwarded to Librato as annotations⁠ so they can be displayed on charts.

⁠Container Configuration

Issue the following commands to run the service

docker pull solarwinds/swi-bitbucket:1.0

docker run -p 8080:8080 -e LIBRATO_URL='https://metrics-api.librato.com/v1/annotations/' solarwinds/swi-bitbucket:1.0

⁠Bitbucket Configuration

For each repository in docker add a webhook that has a url that follows this pattern

https://<address of container>:<port>/bitbucket/event?user=<librato username>&token=<librato api token>

You can read more about Bitbucket webhooks configuration here⁠.

To get an api token:

  1. Navigate to Librato's API Tokens page⁠
  2. Click on an existing api token or click "Generate New API Token"
  3. Copy the username and generated token
⁠Librato Charts Configuration

Once you have pushed changes to a repo or branch you should be able to select them for display in your Librato charts.

  1. Browse to a space on Librato and edit a chart
  2. Click on "Add More Metrics" button
  3. Select "Events" from the dropdown to the left of search box
  4. Search for the name of the repo and check the event source you would like to display in your chart
Tag summary
Recent tags
Content type
Image
Digest
Size
2.9 MB
Last updated
over 9 years ago
docker pull solarwinds/swi-bitbucket:1.0
This week's pulls