Endpoint toEndpoint() {
        Endpoint endpoint = new Endpoint();
        endpoint.setName(destEndpointName);
        endpoint.setServiceName(destServiceName);
        endpoint.setServiceLayer(destLayer);
        endpoint.setServiceInstanceName(destServiceInstanceName);
        endpoint.setLatency(latency);
        endpoint.setStatus(status);
        endpoint.setHttpResponseStatusCode(httpResponseStatusCode);
        endpoint.setRpcStatusCode(rpcStatusCode);
        endpoint.setType(type);
        endpoint.setTags(tags);
        endpoint.setOriginalTags(originalTags);
        endpoint.setTimeBucket(timeBucket);
        return endpoint;
    }
Endpoint meta and metrics of {@link #destEndpointName} related source. The metrics base on the OAL scripts.
oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/EndpointSourceBuilder.java