Astarte.DataAccess.Config.astarte_instance_id

You're seeing just the function astarte_instance_id, go back to Astarte.DataAccess.Config module for more information.
Link to this function

astarte_instance_id(namespace \\ nil)

View Source

Specs

astarte_instance_id(Skogsra.Env.namespace()) ::
  {:ok, binary()} | {:error, binary()}

A string that uniquely identifies this Astarte instance. It will be used to generate Scylla keyspaces starting from Astarte realm names. Defaults to "".

Calling Astarte.DataAccess.Config.astarte_instance_id() will ensure the following:

  • Binding order: [:system, :config]
  • OS environment variable: "ASTARTE_INSTANCE_ID"
  • Type: :binary
  • Default: ""
  • Required: false
  • Cached: true