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
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ The SDK can be configured using environment variables:
23
23
24
24
-`CORALOGIX_TEAM_API_KEY`: The API key that is used for all team-level interactions. Note that it has to have appropriate permissions. Read the [docs](https://coralogix.com/docs/api-keys/) for more information.
25
25
-`CORALOGIX_USER_API_KEY`: The API key that is used for all user-level interactions. Note that it has to have appropriate permissions. Read the [docs](https://coralogix.com/docs/api-keys/) for more information.
26
+
-`CORALOGIX_ORG_API_KEY`: The API key that is used for all organization-level interactions. Note that it has to have appropriate permissions. Read the [docs](https://coralogix.com/docs/api-keys/) for more information.
26
27
-`CORALGOIX_REGION`: The region/cluster to connect to as a shorthand (EU2, AP1, etc. read more [here](https://coralogix.com/docs/coralogix-domain/)).
27
28
28
29
Furthermore, if you want to run the examples locally, you're going to to have set the following environment variables:
// GetOrgLevelCallProperties returns a new CallProperties object built from an organization-level API key. It essentially prepares the context, connection, and call options for a gRPC call.
returnAuthContext{}, fmt.Errorf("at least one of %s, %s, or %s must be set", EnvCoralogixTeamLevelAPIKey, EnvCoralogixUserLevelAPIKey, EnvCoralogixOrgLevelAPIKey)
288
294
}
289
295
ifteamLevelAPIKey=="" {
290
296
log.Println("Warning: teamLevelAPIKey is empty. Some functionality will not be available.")
291
297
}
292
298
ifuserLevelAPIKey=="" {
293
299
log.Println("Warning: userLevelAPIKey is empty. Some functionality will not be available.")
294
300
}
301
+
iforgLevelAPIKey=="" {
302
+
log.Println("Warning: orgLevelAPIKey is empty. Some functionality will not be available.")
0 commit comments