Sign inSign up

opbeans/opbeans-go

By opbeans

•Updated about 1 year ago

Golang implementation of the Opbeans demo app for Elastic APM

Image
1

10K+

opbeans/opbeans-go repository overview

Build Status

⁠opbeans-go

This is a Go implementation of the Opbeans Demo app.

⁠Running locally

The simplest way to run this demo is by using the provided docker-compose.yml:

docker-compose up

⁠Running with Elastic Cloud

  1. Start Elastic Cloud trial⁠ (if you don't have it yet)
  2. Add environmental variables ELASTIC_CLOUD_ID and ELASTIC_CLOUD_CREDENTIALS (in format login:password)
  3. Run
docker-compose -f docker-compose-elastic-cloud.yml up

⁠Testing locally

The simplest way to test this demo is by running:

make test

Tests are written using bats⁠ under the tests dir

⁠Publishing to dockerhub locally

Publish the docker image with

VERSION=1.2.3 make publish

NOTE: VERSION refers to the tag for the docker image which will be published in the registry

Tag summary

Content type

Image

Digest

sha256:619dcb64c…

Size

30.7 MB

Last updated

about 1 year ago

docker pull opbeans/opbeans-go