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

Make usePrometheus available from @graphql-mesh/plugin-prometheus #7908

Closed
wants to merge 2 commits into from

Conversation

klippx
Copy link
Contributor

@klippx klippx commented Nov 8, 2024

Description

usePrometheus is not available to import from @graphql-hive/gateway:

import { 
  useJWT, 
  useOpenTelemetry,
  // usePrometheus // Not available!
} from '@graphql-hive/gateway';
import usePrometheus from '@graphql-mesh/plugin-prometheus';

With this PR, it will be possible to:

import { 
  useJWT, 
  useOpenTelemetry,
  usePrometheus,
} from '@graphql-hive/gateway';

Type of change

  • New feature (non-breaking change which adds functionality)

@ardatan
Copy link
Owner

ardatan commented Nov 8, 2024

Covered here;
graphql-hive/gateway#87

@ardatan ardatan closed this Nov 8, 2024
@klippx klippx deleted the expose-plugin-use-prometheus branch November 8, 2024 11:30
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

Successfully merging this pull request may close these issues.

2 participants