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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
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)
299
305
}
300
306
ifteamLevelAPIKey=="" {
301
307
log.Println("Warning: teamLevelAPIKey is empty. Some functionality will not be available.")
302
308
}
303
309
ifuserLevelAPIKey=="" {
304
310
log.Println("Warning: userLevelAPIKey is empty. Some functionality will not be available.")
305
311
}
312
+
iforgLevelAPIKey=="" {
313
+
log.Println("Warning: orgLevelAPIKey is empty. Some functionality will not be available.")
0 commit comments