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

mysql createPoolCluster will generate new tracerId #136

Open
yufeifan opened this issue Sep 22, 2020 · 0 comments
Open

mysql createPoolCluster will generate new tracerId #136

yufeifan opened this issue Sep 22, 2020 · 0 comments

Comments

@yufeifan
Copy link

yufeifan commented Sep 22, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant