Comments (4)
Those methods are not exported, and they explicitly document the behaviour. I'm unsure why it isn't a map. Maybe @slimsag remembers why?
from appdash.
but the method 'annotationsFromWire' uses pb data to append annotations, if client annotations with SQL, and the server uses the method to append , and it will be occur overide key= "SQL"
from appdash.
It's been multiple years since I've looked at Appdash code. Unfortunately, I don't remember why this was done this way.
My best guess: It may have just been that Annotations only need to be unique for a span, so the change of overlap was small if the SQL
key included e.g. the actual SQL query being executed (which IIRC was the case).
from appdash.
i know why.
Annotations type is slice , and its store&get operations is in order, and map is disorder
when we get data from annotations, it keeps original order is pretty good. the same type's data is tobe together. a unit is "_schema:xxx"
"Client.Request.Headers.Connection": "close",
"Client.Request.Headers.Accept": "application/json",
"Client.Request.Headers.Authorization": "REDACTED",
"Client.Request.Proto": "HTTP/1.1",
"Client.Request.RemoteAddr": "127.0.0.1",
"Client.Request.Host": "example.com",
"Client.Request.ContentLength": "0",
"Client.Request.Method": "GET",
"Client.Request.URI": "/foo",
"Client.Response.StatusCode": "200",
"Client.Response.ContentLength": "0",
"Client.Send": "0001-01-01T00:00:00Z",
"Client.Recv": "0001-01-01T00:00:00Z",
"_schema:HTTPClient": "",
......
"_schema:msg": "",
.......
"_schema:timestamp": "",
from appdash.
Related Issues (20)
- slack link
- HTTPS support
- Can't figure how to mount traceapp to anything other than "/" HOT 1
- Remove unmaintained influxdbstore backend
- Python examples: An Issue and a question HOT 2
- Appdash Tracing in microseconds precision HOT 1
- build error "use of internal package not allowed" with thrid-part store implementation.
- webapp example panic: interface conversion: interface {} is nil, not appdash.SpanID HOT 5
- appdash client support java and other language?
- only can store in memory?support redis or mysql in future?
- Slack link in README is not valid HOT 1
- Travis build failing on latest Go version HOT 2
- deadlinks HOT 5
- a Span storage specification issue HOT 3
- Setting up appdash in Go, not seeing traces HOT 1
- Dependency Dashboard
- 503 Service Temporarily Unavailable about sourcegraph.com HOT 3
- Error highlighting HOT 2
- Regression in change from fmt to strconv HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appdash.