-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move node type from network address to service level[Need storage module update] #2051
Conversation
This is my proposal mail thread. Consider this PR is step 1, Inventory changes (PROPOSAL ONLY). I am thinking about SQL and Database analysis solution for a whole. Here are some my thoughts and proposal. Feedback are welcome. Inventory changesAll metadata need register in SkyWalking. So Database instances do the same. Right now, we provide a virtual service metadata for each database instance.
SQL RegisterSQL statements are tons in real cluster, we can't and needn't to register and do for all of them.
SourceDBAccess source should be easy, include, db service id, latency, timestamp, status.
Query and UI
Here are all in my mind. |
@liuhaoyang Please consider the proposal in ml and here(same) is just suggestion. I am doing this pull request just to try to make service and address inventory fixed. That is all. All things about SQL register, analysis, and visualization are still depending on your leadership. |
I am moving to adjust Zipkin, Jaeger and OC format analysis :) |
Maybe we should better discuss the SQL and database analysis in a specific issue or pull request. The source of layer is agent. Where is it from? Is there a specification that defined? Opentracing? TracingContext? |
Which name? Layer? That is from tracing field. Adrian gave that name. But only make sense in trace, not inventory. Right? |
All right. I'm not good at the name definition. This break change is not difficult for users to upgrade backend to the new edition. A database script could fixed it. |
@peng-yongsheng @liuhaoyang Tests are done. Look like working now. |
Update in this pull request
src_layer
tonode_type
for NetworkAddressInventory. Break change, need discussion. Is this acceptable? @peng-yongsheng It will benefit for long term.node_type
for ServiceInventory.NodeType
for backend code use.spanLayer
would not be used in backend codes, except the trace analysis. We need to do more refactor to avoid using enum value of protocol level in our storage.