Skip to content
/ xp Public

Interactive explorer for DC/OS diagnostics bundle

Notifications You must be signed in to change notification settings

adyatlov/xp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bun Explorer

Developing

  1. Start server:

    $ go build && ./bunxp <path to bundle>

    The best way to test the GraphQL API is https://github.com/hasura/graphqurl:

    $ gq http://localhost:7777/graphql -i 
  2. Start client:

    $ cd client
    $ yarn install # only the first time
    $ yarn run relay --watch
    $ yarn start # in a separate terminal

    You don't need to relaunch the npm start command after you changed client files, they will be reloaded automatically.

  3. Open http://localhost:3000

Build project

  1. Install Packr v2:

    $ go get -u github.com/gobuffalo/packr/v2/packr2
  2. Build client:

    $ cd client
    $ npm run build 
  3. Add client files to server binaries:

    packr2 
  4. Build client-server bundle:

    go build
  5. Clean-up:

    packr2 clean

Object Types

  • Cluster
  • Agent
  • Framework
  • Task
  • Marathon App
  • Component
  • API Endpoint Output
  • Command Output
  • Log
  • File
  • Role

Metric Types

  • Integer
  • Real
  • Percentage
  • Version
  • Timestamp
  • IP Address
  • Array of Metrics

Metrics

Hostname for agent

About

Interactive explorer for DC/OS diagnostics bundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published