Categorygithub.com/evergreen-ci/logkeeper
modulepackage
0.0.0-20240827195042-80fe123be947
Repository: https://github.com/evergreen-ci/logkeeper.git
Documentation: pkg.go.dev

# README

To set up and run (be sure to have a mongod instance running on localhost on the default port):

    git clone [email protected]:evergreen-ci/logkeeper
    cd logkeeper
    
    # Use this (or similar command) to seed some sample data into a local bucket and use that as storage
    mkdir -p _bucketdata && cp -r testdata/simple/* _bucketdata
    go run main/logkeeper.go --localPath _bucketdata

Example of running resmoke with logkeeper

# Run this from the root directory where mongodb is cloned to:
python buildscripts/resmoke.py --suites=core --log=buildlogger  --buildloggerUrl="http://localhost:8080"

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLogger returns a new Logger instance and starts its background goroutines.
NewLogkeeper returns a new Logkeeper REST service with the given options.
No description provided by the author

# Variables

BuildRevision Should be specified with -ldflags at build time.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
ColorSet is a structure to track unique logger names and assign a color number to each one.
A LimitedReader reads from R but limits the amount of data returned to just N bytes.
Logger is a middleware handler that aggregates statistics on responses.
LogkeeperOptions represents the set of options for creating a new Logkeeper REST service.
No description provided by the author