Skip to content

Instantly share code, notes, and snippets.

View zhaohuabing's full-sized avatar
💭
I may be slow to respond.

Huabing Zhao zhaohuabing

💭
I may be slow to respond.
View GitHub Profile
@Component
public class DBAccess {
@Traced
public void save2db() {
try {
Thread.sleep((long) (Math.random() * 100));
} catch (InterruptedException e) {
e.printStackTrace();
}
{
"configs": [
{
"@type": "type.googleapis.com/envoy.admin.v2alpha.BootstrapConfigDump",
"bootstrap": {
"node": {
"id": "sidecar~10.40.0.17~ratings-v1-f745cf57b-kx8lf.default~default.svc.cluster.local",
"cluster": "ratings.default",
"metadata": {
"ISTIO_PROXY_SHA": "istio-proxy:c33dc49585e5e7b5f616c8b5377a5f1f52505e20",
{
"name": "ztunnel_outbound",
"active_state": {
"version_info": "2022-09-13T11:17:20Z/5",
"listener": {
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener",
"name": "ztunnel_outbound",
"address": {
"socket_address": {
"address": "0.0.0.0",