Unverified Commit 6b9ef38a authored by 吴晟's avatar 吴晟 Committed by GitHub
Browse files

Merge branch 'master' into master

parents f74ea2fd 329e53ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDU
[Open Skywalking Organization Teams and Contributors](https://github.com/OpenSkywalking/Organization/blob/master/README.md)

# Partners
<img src="https://skywalkingtest.github.io/page-resources/3.2.3/partners.png" width="600"/>
<img src="https://skywalkingtest.github.io/page-resources/3.2.4/partners.png" width="800"/>

# License
[Apache 2.0 License.](/LICENSE)
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDU
[Open Skywalking Organization Teams and Contributors](https://github.com/OpenSkywalking/Organization/blob/master/README.md)

# Partners
<img src="https://skywalkingtest.github.io/page-resources/3.2.3/partners.png" width="600"/>
<img src="https://skywalkingtest.github.io/page-resources/3.2.4/partners.png" width="800"/>

# License
[Apache 2.0 License.](/LICENSE)
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ public class NodeComponentSpanListener implements EntrySpanListener, ExitSpanLis
        }

        nodeComponent.setPeerId(spanDecorator.getPeerId());
        nodeComponent.setPeer(Const.EMPTY_STRING);
        id = id + Const.ID_SPLIT + nodeComponent.getPeerId();
        nodeComponent.setId(id);
        nodeComponents.add(nodeComponent);
@@ -81,6 +82,7 @@ public class NodeComponentSpanListener implements EntrySpanListener, ExitSpanLis
        }

        nodeComponent.setPeerId(applicationId);
        nodeComponent.setPeer(Const.EMPTY_STRING);
        id = id + Const.ID_SPLIT + String.valueOf(applicationId);
        nodeComponent.setId(id);

+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ public class NodeMappingSpanListener implements RefsListener, FirstSpanListener
        NodeMappingDataDefine.NodeMapping nodeMapping = new NodeMappingDataDefine.NodeMapping();
        nodeMapping.setApplicationId(applicationId);
        nodeMapping.setAddressId(referenceDecorator.getNetworkAddressId());
        nodeMapping.setAddress(Const.EMPTY_STRING);
        String id = String.valueOf(applicationId) + Const.ID_SPLIT + String.valueOf(nodeMapping.getAddressId());
        nodeMapping.setId(id);
        nodeMappings.add(nodeMapping);
+3 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ public class NodeReferenceSpanListener implements EntrySpanListener, ExitSpanLis
        NodeReferenceDataDefine.NodeReference nodeReference = new NodeReferenceDataDefine.NodeReference();
        nodeReference.setFrontApplicationId(applicationId);
        nodeReference.setBehindApplicationId(spanDecorator.getPeerId());
        nodeReference.setBehindPeer(Const.EMPTY_STRING);
        nodeReference.setTimeBucket(TimeBucketUtils.INSTANCE.getMinuteTimeBucket(spanDecorator.getStartTime()));

        StringBuilder idBuilder = new StringBuilder();
@@ -79,6 +80,7 @@ public class NodeReferenceSpanListener implements EntrySpanListener, ExitSpanLis
            NodeReferenceDataDefine.NodeReference nodeReference = new NodeReferenceDataDefine.NodeReference();
            nodeReference.setFrontApplicationId(Const.USER_ID);
            nodeReference.setBehindApplicationId(applicationId);
            nodeReference.setBehindPeer(Const.EMPTY_STRING);
            nodeReference.setTimeBucket(TimeBucketUtils.INSTANCE.getMinuteTimeBucket(spanDecorator.getStartTime()));

            String idBuilder = String.valueOf(nodeReference.getTimeBucket()) + Const.ID_SPLIT + nodeReference.getFrontApplicationId() +
@@ -96,6 +98,7 @@ public class NodeReferenceSpanListener implements EntrySpanListener, ExitSpanLis
        NodeReferenceDataDefine.NodeReference referenceSum = new NodeReferenceDataDefine.NodeReference();
        referenceSum.setFrontApplicationId(parentApplicationId);
        referenceSum.setBehindApplicationId(applicationId);
        referenceSum.setBehindPeer(Const.EMPTY_STRING);
        references.add(referenceSum);
    }

Loading