Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu is sharp increase. and log show can't assign requested address #902

Open
wsy6543 opened this issue Nov 14, 2023 · 0 comments
Open

cpu is sharp increase. and log show can't assign requested address #902

wsy6543 opened this issue Nov 14, 2023 · 0 comments

Comments

@wsy6543
Copy link

wsy6543 commented Nov 14, 2023

code:

driverName, err := otelsql.Register("mysql",
	otelsql.WithAttributes(
		semconv.DBSystemMySQL,
		semconv.DBNameKey.String(a.dbName),
	))
a.db, err = sqlx.Connect(driverName, a.dsn)
if err != nil {
	return err
}
a.db.SetMaxIdleConns(32)
a.db.SetMaxOpenConns(1024)

logs:
download

metrics:
WechatIMG28

QPS is close to 5k

I want to know why cause this,anyone face the same question,how to resolve?any suggests?

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

No branches or pull requests

1 participant