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

Why is the configuration database access and jvm gc alarms have no effect? #3029

Closed
3 tasks
liyongfa0311 opened this issue Jul 9, 2019 · 15 comments
Closed
3 tasks
Assignees
Labels
question End user question and discussion.
Milestone

Comments

@liyongfa0311
Copy link

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [ X ] Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

  • What do you want to know?
    I want a database access and GC timeout alert, but no alarms come out after the threshold is reached.There are no problems with service related and endpoint related alarms.

Bug

  • Which version of SkyWalking, OS and JRE?
    CentOS 7

  • Which company or project?

  • What happen?
    If possible, provide a way for reproducing the error. e.g. demo application, component version.
    The following is my configuration information
    image


Requirement or improvement

  • Please describe about your requirements or improvement suggestions.
@liyongfa0311
Copy link
Author

image

@wu-sheng
Copy link
Member

wu-sheng commented Jul 9, 2019

Where do you find the metrics names?

@wu-sheng wu-sheng added this to the 6.3.0 milestone Jul 9, 2019
@wu-sheng wu-sheng added the question End user question and discussion. label Jul 9, 2019
@liyongfa0311
Copy link
Author

@wu-sheng
Copy link
Member

wu-sheng commented Jul 9, 2019

Database access alarm is a part of service alarm, I think.

@wu-sheng
Copy link
Member

wu-sheng commented Jul 9, 2019

Your rule name needs being ended with _rule, I think. Please check the logs?

@liyongfa0311
Copy link
Author

I am very sorry that I made such a simple error on the gc configuration, but my database access configuration does not have this error. Can't I get a database-only alarm?

@liyongfa0311

This comment has been minimized.

@liyongfa0311
Copy link
Author

I have checked that the data of database access in es has exceeded the configured threshold.

@wu-sheng
Copy link
Member

wu-sheng commented Jul 9, 2019

For database, you could use service name filter. Do you know it?

@liyongfa0311
Copy link
Author

Do I need to change metrics-name to service_resp_time ? Where is using the database_access_resp_time?

@wu-sheng
Copy link
Member

Metrics name comes from OAL only. There is entity name of DB for filter.

@wu-sheng wu-sheng self-assigned this Jul 10, 2019
@liyongfa0311
Copy link
Author

I didn't understand what you mean. Can I get a database access timeout alert through configuration?

@wu-sheng
Copy link
Member

Can I get a database access timeout alert through configuration?

What is the timeout in JDBC? Do you understand what are you asking?

@liyongfa0311
Copy link
Author

I want to get slow sql alarm through skywalking,so can I get a alert that the timeout of database access through configuring alarm-settings.yml?

@wu-sheng
Copy link
Member

I want to get slow sql alarm through skywalking,so can I get a alert that the timeout of database access through configuring alarm-settings.yml?

No, we don't have that. TopN is not a metrics type, it is TopN type.

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

No branches or pull requests

2 participants