GithubHelp home page GithubHelp logo

sammerset / heroku-buildpack-grafana-cloud-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from athletesgg/heroku-buildpack-grafana-cloud-agent

0.0 1.0 1.0 8 KB

Buildpack for Grafana Cloud Agent binary.

Shell 100.00%

heroku-buildpack-grafana-cloud-agent's Introduction

Heroku Buildpack for Grafana Cloud Agent

This is an unofficial Heroku buildpack for Grafana Cloud Agent deployments.

Usage

Binary

Create a bin folder in the root of your repository. Then download whatever version of the Grafana Cloud Agent you plan on using. The linux binary should be named agent.

$ mkdir bin
$ curl -O -L "https://github.com/grafana/agent/releases/download/v0.4.0/agent-linux-amd64.zip"
$ unzip agent-linux-amd-64.zip
$ mv agent-linux-amd64 bin/agent
$ rm agent-linux-amd-64.zip

Config

Your config file should be placed into the root as graphana-agent-config.yml.

The buildpack will substitute any environment variables. Example:

---
server:
  http_listen_port: $PORT

prometheus:
  wal_directory: "./"
  global:
    scrape_interval: 5s
  configs:
    - name: agent
      host_filter: false
      scrape_configs:
        - job_name: taylor-swift-metrics
          metrics_path: /metrics
          scheme: https
          static_configs:
            - targets: ['target.taysway.xyz']
      remote_write:
        - url: https://prom.taysway.xyz/api/prom/push
          basic_auth:
            username: $USERNAME
            password: $PASSWORD

heroku-buildpack-grafana-cloud-agent's People

Contributors

sammerset avatar umamialex avatar

Watchers

 avatar

Forkers

men232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.