Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

mysql createPoolCluster will generate new tracerId #136

@yufeifan

Description

@yufeifan

my route is

server.get("/serverB", function (req, res) {

  let mysqlCluster = mysql.createPoolCluster();
  mysqlCluster.add("Master", {
    host: "localhost",
    port: 3306,
    user: "root",
    password: "123456",
    database: "test",
  });

  mysqlCluster
    .of("Master")
    .query("SELECT SLEEP(1)", function (error, results, fields) {
      if (error) throw error;
      res.writeHead(200, { "Content-Type": "text/html" });
      res.write("<html><body><p>This is student Page.</p></body></html>");
      res.end();
    });
});

then skywalking web is

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions