Go
Available options
- Required options
- Options
app_pathfilter_attributesfilter_function_parametersfilter_request_payloadfilter_request_query_parametersfilter_request_session_dataignore_actionsignore_errorsignore_logsignore_namespacesrequest_headersresponse_headerssend_function_parameterssend_request_payloadsend_request_query_parameterssend_request_session_data
environment
Description
The environment of the app to be reported to AppSignal.Go
Note: Changing the name or environment of an existing app
will create a new app on AppSignal.com.
host.name
Description
Thehost.name resource attribute helps AppSignal recognize different hosts for traces and tag the traces automatically with the hostname.
Go
language_integration
Description
AppSignal uses thelanguage_integration resource attribute to detect the language of a trace and correctly parse exception backtraces.
To set this option, specify the language name in lowercase format: go.
Go
name
Description
Name of your application as it should be displayed on AppSignal.com.Go
Note: Changing the name or environment of an existing app
will create a new app on AppSignal.com.
push_api_key
Description
The organization-level authentication key to authenticate with our Push API. Read more about the AppSignal Push API key.Go
revision
Description
Set the app revision to report the currently running version of your app. AppSignal will create a deploy marker when this value changes, and tag all incoming data with the current revision. Read more about deploy markers in the deploy markers topic.Go
service.name
Description
Theservice.name resource attribute helps AppSignal recognize different services for traces and groups the traces automatically in a namespace based on the service name.
Choose a name that fits your application, like “Web server”, “Background worker”, “Email service”, “Authentication service”, etc.
Go
app_path
Description
The location of the app on the host’s file system. Theapp_path resource attribute helps AppSignal clean up backtraces by stripping away the absolute app path of backtrace lines. This way only paths within the context of the project directory is shown. This makes our Backtrace links feature possible.
Go
filter_attributes
Description
Thefilter_attributes resource attribute allows you to filter out specific attributes from being reported to AppSignal. This can be useful to filter out sensitive or non-relevant information from being reported.
If an attribute is filtered out this way, it will not show up in the interface at all.
Go
filter_function_parameters
Description
This resource attribute allows you to filter out any function parameters set in theappsignal.function.parameters span attribute.
In the example below, values for the keys listed in the filter_function_parameters config option are replaced with [FILTERED].
Go
filter_request_payload
Description
This resource attribute allows you to filter out any request payload data set in theappsignal.request.payload span attribute.
In the example below, values for the keys listed in the filter_request_payload config option are replaced with [FILTERED].
Read more about request query parameter filtering.
Go
filter_request_query_parameters
Description
This resource attribute allows you to filter out any request query parameters set in theappsignal.request.query_parameters span attribute.
In the example below, values for the keys listed in the filter_request_query_parameters config option are replaced with [FILTERED].
Read more about request query parameter filtering.
Go
filter_request_session_data
Description
Thefilter_request_session_data resource attribute allows you to filter out any request session data set in the appsignal.request.session_data span attribute.
In the example below, values for the keys listed in the filter_request_session_data config option are replaced with [FILTERED].
Read more about request session data filtering.
Go
ignore_actions
Description
With this config option you can specify a list of actions that will be ignored by AppSignal. Everything that happens including exceptions will not be transmitted to AppSignal. This can be useful to ignore health check endpoints or other actions that you don’t want to monitor. Read more about ignoring actions.Go
ignore_errors
Description
This config option allows you to ignore specific errors from being reported to AppSignal. This can be useful to ignore expected errors or errors that can’t be solved. Read more about ignoring errors.Go
ignore_logs
Description
List of log messages that will be ignored. Any log message containing any of the elements of the list will not be transmitted to AppSignal. A small subset of regex syntax is supported, read more about it in our Ignore Logs guide.Go
ignore_namespaces
Description
This config option allows you to ignore specific namespaces from being reported to AppSignal. This can be useful to ignore specific parts of your application from being monitored. Read more about namespaces.Go
request_headers
Description
Configure which request headers to include when a request is made to an HTTP server. This option is an allowlist. It only includes the headers that are configured. If the list is empty, no headers are included. The request headers are read from thehttp.request.header.<key> OpenTelemetry span attributes, where <key> is the normalized header name (lowercase).
To not set any headers, explicitly set the resource attribute value to an empty array.
Go
response_headers
Description
Configure which response headers to include when a request is made by an HTTP client. This option is an allowlist. It only includes the headers that are configured. If the list is empty, no headers are included. The response headers are read from thehttp.response.header.<key> OpenTelemetry span attributes, where <key> is the normalized header name (lowercase).
To not set any headers, explicitly set the resource attribute value to an empty array.
Go
send_function_parameters
Description
Configure whether to include function parameters in traces. If set tofalse no such data is sent to our servers.
These values are set with the appsignal.function.parameters span attribute.
Go
send_request_payload
Description
Configure whether to send request payload data in traces. If set tofalse no such data is sent to our servers.
These values are set with the appsignal.request.payload span attribute.
For more information please read about request payload filtering.
Go
send_request_query_parameters
Description
Configure whether to include request query parameters in traces. If set tofalse no such data is sent to our servers.
These values are set with the appsignal.request.query_parameters span attribute.
For more information please read about request parameter filtering.
Go
send_request_session_data
Description
Configure whether to send request session data in traces. If set tofalse no such data is sent to our servers.
These values are set with the appsignal.request.session_data span attribute.
For more information please read about request session data filtering.
Go