datadog / go-metro Goto Github PK
View Code? Open in Web Editor NEWPassively calculate TCP RTT between hosts
License: MIT License
Passively calculate TCP RTT between hosts
License: MIT License
Instead of link
, would make the tagging more flexible.
We can't tag by port for all the ports because that would create too many short-lived contexts.
A good solution would be to implement our own aggregators to compute the average/min/max over all the ports (i.e. like an agent histogram).
Also, we could allow configuring a list of ports on which go-metro
would tag the metrics by port.
go version go1.3.3 linux/amd64
This command cd $GOPATH
go get -a -v github.com/DataDog/go-metro
Throws this error
runtime
errors
sync/atomic
unicode
unicode/utf8
math
sync
sort
io
syscall
container/list
hash
crypto/subtle
crypto/cipher
bytes
strings
bufio
crypto/hmac
time
encoding
path
hash/crc32
strconv
math/rand
os
reflect
crypto
crypto/aes
crypto/md5
crypto/rc4
crypto/sha1
crypto/sha256
crypto/sha512
encoding/base64
regexp/syntax
encoding/pem
net
path/filepath
io/ioutil
os/signal
encoding/binary
fmt
regexp
crypto/des
flag
math/big
encoding/hex
encoding/xml
archive/tar
compress/flate
crypto/elliptic
github.com/DataDog/datadog-go/statsd
crypto/rand
crypto/ecdsa
crypto/dsa
crypto/rsa
encoding/asn1
archive/zip
compress/gzip
github.com/cihub/seelog/archive/gzip
github.com/cihub/seelog/archive/tar
net/textproto
runtime/debug
github.com/cihub/seelog/archive
github.com/cihub/seelog/archive/zip
crypto/x509/pkix
github.com/google/gopacket
golang.org/x/net/context
gopkg.in/yaml.v2
crypto/x509
gopkg.in/tomb.v2
github.com/google/gopacket/layers
crypto/tls
net/smtp
github.com/cihub/seelog
github.com/google/gopacket/pcap
# github.com/google/gopacket/pcap
src/github.com/google/gopacket/pcap/pcap.go:30: undefined: pcapErrorNotActivated
src/github.com/google/gopacket/pcap/pcap.go:52: undefined: pcapTPtr
src/github.com/google/gopacket/pcap/pcap.go:64: undefined: pcapPkthdr
#cat /etc/os-release
NAME="SLES"
VERSION="12-SP4"
VERSION_ID="12.4"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP4"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp4"
Please let me know if you need more info.
What am I doing wrong?
In particular, better document how the 2 whitelists work, and that they're optional.
Instead of a timestamp, to be able to correlate go-metro
's logs with the agent's logs.
At https://github.com/DataDog/go-metro#usage the instructions miss the capitalization of Data"D"og.
It says:
go install github.com/Datadog/go-metro
When it should say:
go install github.com/DataDog/go-metro
Finally, I also had to install "libpcap-devel" on a CentOS7 system in addition to the other packages. The error, for posterity was as follows:
$ go install github.com/DataDog/go-metro
# github.com/google/gopacket/pcap
src/github.com/google/gopacket/pcap/pcap_unix.go:34:18: fatal error: pcap.h: No such file or directory
#include <pcap.h>
^
compilation terminated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.