https://github.com/azavea/docker-statsd

Base Docker image for StatsD.

https://github.com/azavea/docker-statsd

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary

Keywords

docker metrics monitoring statsd
Last synced: 5 months ago · JSON representation

Repository

Base Docker image for StatsD.

Basic Info
  • Host: GitHub
  • Owner: azavea
  • License: apache-2.0
  • Language: Shell
  • Default Branch: master
  • Size: 7.81 KB
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
docker metrics monitoring statsd
Created over 8 years ago · Last pushed over 8 years ago
Metadata Files
Readme License

README.md

docker-statsd

This repository contains a templated Dockerfile for image variants designed to support StatsD. The Librato backend is installed as well.

Usage

Basic Usage

In order to supply a custom configuration to the StatsD daemon, you can either volume mount or COPY a custom config.js into the correct file system location, or override CMD so that it points to your custom configuration file:

bash $ docker run -v config.js:/var/lib/statsd/config.js quay.io/azavea/statsd:0.8-alpine

Or define your own Dockerfile with:

```dockerfile FROM quay.io/azavea/statsd:0.8-alpine

COPY config.js /var/lib/statsd/config.js ```

Librato Backend

In order to make use of the StatsD backend for Librato, override the container's ENTRYPOINT to:

dockerfile ENTRYPOINT ["node_modules/.bin/statsd-librato"]

Also, the following environment variables are parsed by the statsd-librato binary packaged with the backend:

  • LIBRATO_EMAIL - Librato email address
  • LIBRATO_TOKEN - Librato API token
  • LIBRATRO_SOURCE - Environment metrics are originating from

Note: LIBRATRO_SOURCE above is not a typo in the README, it is a typo in the environment variables reference in statsd-librato. We will update it when it is fixed in an upstream release.

Template Variables

  • STATSD_VERSION - StatsD daemon version
  • STATSD_LIBRATO_BACKEND_VERSION - StatsD Librato backend version
  • VARIANT - Base container image variant

Testing

An example of how to use cibuild to build and test an image:

bash $ CI=1 STATSD_VERSION=0.8.0 STATSD_LIBRATO_BACKEND_VERSION=2.0.13 \ VARIANT=alpine \ ./scripts/cibuild

Owner

  • Name: Azavea
  • Login: azavea
  • Kind: organization
  • Location: Philadelphia, PA

Geospatial software engineering for good

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 17 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 2.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • hectcastro (1)
Top Labels
Issue Labels
Pull Request Labels