s_('DatadogIntegration|Trace your GitLab pipelines with Datadog.')
end
end
defhelp
defhelp
nil
docs_link=link_tos_('DatadogIntegration|How do I set up this integration?'),Rails.application.routes.url_helpers.help_page_url('integration/datadog'),target: '_blank',rel: 'noopener noreferrer'
s_('DatadogIntegration|Send CI/CD pipeline information to Datadog to monitor for job failures and troubleshoot performance issues. %{docs_link}').html_safe%{docs_link: docs_link.html_safe}
end
end
defself.to_param
defself.to_param
...
@@ -64,14 +66,19 @@ module Integrations
...
@@ -64,14 +66,19 @@ module Integrations
type: 'text',
type: 'text',
name: 'datadog_site',
name: 'datadog_site',
placeholder: DEFAULT_DOMAIN,
placeholder: DEFAULT_DOMAIN,
help: 'Choose the Datadog site to send data to. Set to "datadoghq.eu" to send data to the EU site',
help: ERB::Util.html_escape(
s_('DatadogIntegration|The Datadog site to send data to. To send data to the EU site, use %{codeOpen}datadoghq.eu%{codeClose}.')
)%{
codeOpen: '<code>'.html_safe,
codeClose: '</code>'.html_safe
},
required: false
required: false
},
},
{
{
type: 'text',
type: 'text',
name: 'api_url',
name: 'api_url',
title: 'API URL',
title: s_('DatadogIntegration|API URL'),
help: '(Advanced) Define the full URL for your Datadog site directly',
help: s_('DatadogIntegration|(Advanced) The full URL for your Datadog site.'),
required: false
required: false
},
},
{
{
...
@@ -80,21 +87,34 @@ module Integrations
...
@@ -80,21 +87,34 @@ module Integrations
title: _('API key'),
title: _('API key'),
non_empty_password_title: s_('ProjectService|Enter new API key'),
non_empty_password_title: s_('ProjectService|Enter new API key'),
non_empty_password_help: s_('ProjectService|Leave blank to use your current API key'),
non_empty_password_help: s_('ProjectService|Leave blank to use your current API key'),
help: "<a href=\"#{api_keys_url}\" target=\"_blank\">API key</a> used for authentication with Datadog",
help: ERB::Util.html_escape(
s_('DatadogIntegration|%{linkOpen}API key%{linkClose} used for authentication with Datadog.')
help: 'Name of this GitLab instance that all data will be tagged with'
help: s_('DatadogIntegration|Tag all data from this GitLab instance in Datadog. Useful when managing several self-managed deployments.')
},
},
{
{
type: 'text',
type: 'text',
name: 'datadog_env',
name: 'datadog_env',
title: 'Env',
title: s_('DatadogIntegration|Environment'),
help: 'The environment tag that traces will be tagged with'
placeholder: 'ci',
help: ERB::Util.html_escape(
s_('DatadogIntegration|For self-managed deployments, set the %{codeOpen}env%{codeClose} tag for all the data sent to Datadog. %{linkOpen}How do I use tags?%{linkClose}')
msgid "DatadogIntegration|%{linkOpen}API key%{linkClose} used for authentication with Datadog."
msgstr ""
msgid "DatadogIntegration|(Advanced) The full URL for your Datadog site."
msgstr ""
msgid "DatadogIntegration|API URL"
msgstr ""
msgid "DatadogIntegration|Environment"
msgstr ""
msgid "DatadogIntegration|For self-managed deployments, set the %{codeOpen}env%{codeClose} tag for all the data sent to Datadog. %{linkOpen}How do I use tags?%{linkClose}"
msgstr ""
msgid "DatadogIntegration|How do I set up this integration?"
msgstr ""
msgid "DatadogIntegration|Send CI/CD pipeline information to Datadog to monitor for job failures and troubleshoot performance issues. %{docs_link}"
msgstr ""
msgid "DatadogIntegration|Service"
msgstr ""
msgid "DatadogIntegration|Tag all data from this GitLab instance in Datadog. Useful when managing several self-managed deployments."
msgstr ""
msgid "DatadogIntegration|The Datadog site to send data to. To send data to the EU site, use %{codeOpen}datadoghq.eu%{codeClose}."
msgstr ""
msgid "DatadogIntegration|Trace your GitLab pipelines with Datadog."