powerline-go-datadog

command module
v0.0.0-...-6ed2890 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

README

powerline-go-datadog

powerline-go plugin that shows datadog's monitors in warning, alert or nodata Inspired from i3blocks-datadog

How to install powerline-go-datadog

0. Prerequisite

Use powerline-go with plugin support (the tjamet/powerline-go fork this plugin was written against no longer exists; the plugin is built against upstream v1.14.0, the oldest release that provides the powerline package)

1. Build the application

First of all, you will need to build the project. For this, just execute:

go install github.com/tjamet/powerline-go-datadog@latest
sudo cp "$(go env GOPATH)/bin/powerline-go-datadog" /usr/local/bin/

Ensure you have /usr/local/bin/ in your $PATH

2. Add datadog plugin segment

You need to edit your powerline-go configuration to add the plugin segment in your ~/.profile

example:

PS1="$(powerline-go -error $? -modules user,host,docker,kube,cwd,perms,git,jobs,exit,root)"
3. Inject your credentials

Update your ~/.netrc file add:

machine api.datadoghq.com
  login <appKey>
  password <apiKey>
4. Profit!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL