Skip to main content
App version: 3.4.8

Environment variables

To improve the security and operationalization of your workflow, use the available Neptune environment variables.

Authentication

Environment variableDescription
NEPTUNE_API_TOKENStores the Neptune API token.
NEPTUNE_PROJECTStores the Neptune project path.

neptune-fetcher

Environment variable nameDescriptionDefault (if not set)
NEPTUNE_FETCHER_MAX_WORKERSControls the number of workers in the thread pool.32
NEPTUNE_WARN_AT_DATAFRAME_SIZEControls how Neptune warns of large fetching results.1_000_000

neptune-scale

Environment variableDescriptionDefault (if not set)
NEPTUNE_DEBUG_MODE deprecatedWhether to set Neptune to debug mode for troubleshooting purposes.False
NEPTUNE_DISABLE_COLORSWhether to disable coloring of console output.False
NEPTUNE_LOG_DIRECTORY The base directory where experiment and run metadata is stored..neptune
NEPTUNE_LOG_FAILURE_ACTIONWhat to do if the main process gives up: drop the data or raise an exception.drop
NEPTUNE_LOGGER_LEVELWhat type of debug information to log into stderr.info
NEPTUNE_MODEThe mode to use Neptune in: async, disabled, or offline.async
NEPTUNE_SKIP_NON_FINITE_METRICSWhether to skip non-finite metric values instead of raising an error.True

Self-Signed Certificate (SSL)

Environment variableDescriptionDefault (if not set)
NEPTUNE_ALLOW_SELF_SIGNED_CERTIFICATEWhether to allow self-signed certificates. Relates to neptune-scale.False
NEPTUNE_VERIFY_SSLWhether to allow self-signed certificates. Relates to neptune-fetcher.False