-
Notifications
You must be signed in to change notification settings - Fork 262
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
Fix linters and test in pubsub & dgraph datasources #1254
base: development
Are you sure you want to change the base?
Conversation
d.metrics.NewHistogram("dgraph_query_duration", "Response time of Dgraph queries in milliseconds.", responseTimeBuckets...) | ||
d.metrics.NewHistogram("dgraph_query_with_vars_duration", "Response time of Dgraph "+ | ||
"queries with variables in milliseconds.", responseTimeBuckets...) | ||
d.metrics.NewHistogram("dgraph_mutate_duration", "Response time of Dgraph mutations in milliseconds.", responseTimeBuckets...) | ||
d.metrics.NewHistogram("dgraph_alter_duration", "Response time of Dgraph alter operations in milliseconds.", responseTimeBuckets...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the message here as well because in code we are calculating time in Microseconds instead of Millisecond.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
Please create separate PR for all the data source separately |
Pull Request Template
Description:
Dgraph
&PubSub
datasourcesChecklist:
goimport
andgolangci-lint
.Thank you for your contribution!