You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: disable native metrics when there are no credentials (#3567)
* chore: disable native metrics when there are no credentials
Native metrics were automatically disabled when the emulator is used, but
some clients (e.g. PGAdapter) set up the connection to the emulator manually
instead of setting the environment variable. Also, when using in-mem mock
servers, native metrics should be disabled, as they cannot be exported.
This PR therefore adds an additional check that disables native metrics
when the client uses a NoCredentials instance.
* chore: make method private
0 commit comments