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

Disable GraphQL metrics by default #17652

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

jmartisk
Copy link
Contributor

@jmartisk jmartisk commented Jun 3, 2021

Partial fix for #17448

Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@mkouba mkouba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but we should probably also have a test for disabled/enabled metrics. WDYT?

@jmartisk jmartisk force-pushed the issue-17448-graphql branch from 29df026 to 2df73cf Compare June 3, 2021 09:42
@jmartisk
Copy link
Contributor Author

jmartisk commented Jun 3, 2021

We do have a test for disabled metrics, it explicitly disables them: https://github.com/quarkusio/quarkus/blob/2.0.0.CR2/extensions/smallrye-graphql/deployment/src/test/java/io/quarkus/smallrye/graphql/deployment/MetricsDisabledTest.java#L30

So I've removed the explicit disable from the test, so now it verifies the default, that makes sense IMO.

@mkouba mkouba added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jun 3, 2021
@jmartisk jmartisk merged commit cfcaa0f into quarkusio:main Jun 3, 2021
@jmartisk jmartisk deleted the issue-17448-graphql branch June 3, 2021 10:35
@quarkus-bot quarkus-bot bot added this to the 2.1 - main milestone Jun 3, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jun 3, 2021
@gsmet gsmet modified the milestones: 2.1 - main, 2.0.0.CR3 Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants