Git Product home page Git Product logo

Comments (3)

at15 avatar at15 commented on July 21, 2024

the problem is currently tsdb-proxy code lies in two folders, cmd/tsdb and pkg/tsdb and I want a structure like

cmd
  main.go
pkg
  cmd 
  kairosdb
  influxdb

may need some tweak like http://stackoverflow.com/questions/19954485/extract-multiple-directories-using-git-filter-branch, simply split one branch may not work for me. Also the official doc could help https://git-scm.com/docs/git-filter-branch

from xephon-b.

at15 avatar at15 commented on July 21, 2024
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch cmd/xb cmd/xephon-b' master
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch pkg/cmd pkg/config pkg/generator pkg/loader pkg/monitor pkg/simulator' master

from xephon-b.

at15 avatar at15 commented on July 21, 2024

Another possible solution is to backup current master branch and only keeps those tsdb independent part, like logging, some basic command.

  • migrate the common entity structs to tsdb-proxy
  • remove simulator, generator and loader, since they didn't have much code ...
  • a lot of scripts can be removed as well, since they are all used to setup the tsdb

xephon-b can focus more on the following in order to aid the https://github.com/at15/hadoop-spark-perf project while waiting for https://github.com/dyweb/gommon

  • keep record of experiments config, it's kind of like popper, but I'd like to put things in database
  • collect cpu metrics, I don't know if perf have programmatic API

from xephon-b.

Related Issues (20)

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.