protected boolean isIDReady() {
        return TelemetryRelatedContext.INSTANCE.getId() != null;
    }
BaseMetrics parent class represents the metrics
oap-server/server-telemetry/telemetry-prometheus/src/main/java/org/apache/skywalking/oap/server/telemetry/prometheus/BaseMetrics.java