Skip to content

A simple stash service - receive logs - save logs to folder - sync logs to AWS S3

Notifications You must be signed in to change notification settings

anthoai97/go-agent-stash

Repository files navigation

Go Agent Stash

Test Static Badge Static Badge Static Badge

Introduction

Go Agent Stash is a simple service receive logs from agents - save logs in to filesystem - sync logs to AWS S3

The key features are:

  • Fast transport gRPC: Using gRPC protocol for fast transfer data between internal service of microservice system.
  • Gateway proxy: Support gRPC Gateway Proxy to optional get data back by RESTful API or gRPC.
  • Schedule jobs: Can setup schedule jobs to sync data to S3, clean local file system.
  • Support Docker & Kubernestes: You can easy deploy to your own system with created scripts.

Architecture

Architecture

Requirements

Golang 1.20

Installation

edit .env.example

make server

---> Your service will start in port=8080(http) & port=9090(gRPC) 

You can deploy namespace, deployment, services, ingress into your Kubernetes

export KUBE_CONFIG=<You-.kube-config>

kubectl apply -f k8s/

You can build your own docker image

docker run -t go-agent-stash . 

Owner

An Quach
An Thoai

License

This project is licensed under the terms of the MIT license.

About

A simple stash service - receive logs - save logs to folder - sync logs to AWS S3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages