#weavenetwork

/

      • moonfish joined the channel
      • jacob_ joined the channel
      • jacob_ is now known as faddat
      • faddat
        Does weave have an API?
      • moonfish
        define "API"
      • faddat
        "github.com/weaveworks/weave/api" .... yes?
      • Well, I'd like to query weave instead of querying Scope
      • since the the relevant info is there, without a performance hit
      • the query would be real similar to the output of weave report
      • moonfish
        so just call `weave report`.
      • faddat
        \that's what I was thinking-- just curious if there was a "cleaner" way to do it. If I was using golang, I'd use the os.whatever thingey to do that, yes?
      • moonfish
        os/exec, yes.
      • you can also call the http api directly. For things like `weave report` that works well, since it is 100% implemented that way. For other weave commands the weave script itself does a lot more, so there isn't a suitable http API equivalent.
      • faddat
        This should be interesting. I am going to build a visualizer using the output from weave report.
      • Thanks to weave, our network changes pretty frequently :)
      • faddat30 joined the channel
      • moonfish has quit
      • faddat30 has quit
      • faddat19 joined the channel
      • trifygri joined the channel
      • faddat19 has quit
      • trifygri joined the channel
      • trifygri has quit
      • faddat has quit
      • trifygri joined the channel
      • djx joined the channel
      • djx has quit
      • dopeddude joined the channel
      • moonfish joined the channel
      • dopeddude has quit
      • mapu joined the channel
      • moonfish has quit