mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* Update src/legacy/core_plugins/kibana/server/tutorials/apm/instructions/apm_agent_instructions.js .NET Agent: - removed beta warning - updated the text with the updated pacakge and `UseAllElasticApm()` method - fixed 1 minor typo * Update translations files
This commit is contained in:
parent
a09fdab8bb
commit
699d454c56
3 changed files with 10 additions and 13 deletions
|
@ -472,17 +472,16 @@ export const createDotNetAgentInstructions = (apmServerUrl = '', secretToken = '
|
|||
defaultMessage: 'Download the APM agent',
|
||||
}),
|
||||
textPre: i18n.translate('kbn.server.tutorials.apm.dotNetClient.download.textPre', {
|
||||
defaultMessage: '**Warning: The .NET agent is currently in Beta and not meant for production use.** \n\n \
|
||||
Add the the agent package(s) from [NuGet]({allNuGetPacakgesLink}) to your .NET application. There are multiple \
|
||||
NuGet packages available for different use cases. \n\n For an ASP.NET Core application with Entity Framework \
|
||||
Core download the [Elastic.Apm.All]({allApmPackageLink}) package. This package will automatically add every agent component to \
|
||||
your application. \n\n In case you would like to to minimize the dependencies, you can use the \
|
||||
defaultMessage: 'Add the the agent package(s) from [NuGet]({allNuGetPackagesLink}) to your .NET application. There are multiple \
|
||||
NuGet packages available for different use cases. \n\nFor an ASP.NET Core application with Entity Framework \
|
||||
Core download the [Elastic.Apm.NetCoreAll]({netCoreAllApmPackageLink}) package. This package will automatically add every \
|
||||
agent component to your application. \n\n In case you would like to to minimize the dependencies, you can use the \
|
||||
[Elastic.Apm.AspNetCore]({aspNetCorePackageLink}) package for just \
|
||||
ASP.NET Core monitoring or the [Elastic.Apm.EfCore]({efCorePackageLink}) package for just Entity Framework Core monitoring. \n\n \
|
||||
In case you only want to use the public Agent API for manual instrumentation use the [Elastic.Apm]({elasticApmPackageLink}) package.',
|
||||
values: {
|
||||
allNuGetPacakgesLink: 'https://www.nuget.org/packages?q=Elastic.apm',
|
||||
allApmPackageLink: 'https://www.nuget.org/packages/Elastic.Apm.All',
|
||||
allNuGetPackagesLink: 'https://www.nuget.org/packages?q=Elastic.apm',
|
||||
netCoreAllApmPackageLink: 'https://www.nuget.org/packages/Elastic.Apm.NetCoreAll',
|
||||
aspNetCorePackageLink: 'https://www.nuget.org/packages/Elastic.Apm.AspNetCore',
|
||||
efCorePackageLink: 'https://www.nuget.org/packages/Elastic.Apm.EntityFrameworkCore',
|
||||
elasticApmPackageLink: 'https://www.nuget.org/packages/Elastic.Apm',
|
||||
|
@ -494,13 +493,14 @@ export const createDotNetAgentInstructions = (apmServerUrl = '', secretToken = '
|
|||
defaultMessage: 'Add the agent to the application',
|
||||
}),
|
||||
textPre: i18n.translate('kbn.server.tutorials.apm.dotNetClient.configureApplication.textPre', {
|
||||
defaultMessage: 'In case of ASP.NET Core, call the `UseElasticApm` method in the `Configure` method within the `Startup.cs` file.'
|
||||
defaultMessage: 'In case of ASP.NET Core with the `Elastic.Apm.NetCoreAll` package, call the `UseAllElasticApm` \
|
||||
method in the `Configure` method within the `Startup.cs` file.'
|
||||
}),
|
||||
commands: `public class Startup
|
||||
{curlyOpen}
|
||||
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
|
||||
{curlyOpen}
|
||||
app.UseElasticApm(Configuration);
|
||||
app.UseAllElasticApm(Configuration);
|
||||
//…rest of the method
|
||||
{curlyClose}
|
||||
//…rest of the class
|
||||
|
@ -515,8 +515,7 @@ export const createDotNetAgentInstructions = (apmServerUrl = '', secretToken = '
|
|||
defaultMessage: 'Sample appsettings.json file:',
|
||||
}),
|
||||
commands: `{curlyOpen}
|
||||
"ElasticApm": {curlyOpen}
|
||||
"LogLevel": "Error",
|
||||
"ElasticApm": {curlyOpen}
|
||||
"SecretToken": "${secretToken}",
|
||||
"ServerUrls": "${apmServerUrl || 'http://localhost:8200'}", //Set custom APM Server URL (default: http://localhost:8200)
|
||||
"ServiceName" : "MyApp", //allowed characters: a-z, A-Z, 0-9, -, _, and space. Default is the entry assembly of the application
|
||||
|
|
|
@ -2114,7 +2114,6 @@
|
|||
"kbn.server.tutorials.apm.dotNetClient.configureApplication.textPost": "「IConfiguration」インスタンスを渡すのはオプションで、これにより、エージェントはこの「IConfiguration」インスタンス (例: 「appsettings.json」ファイル) から構成を読み込みます。",
|
||||
"kbn.server.tutorials.apm.dotNetClient.configureApplication.textPre": "ASP.NET Core の場合、「Startup.cs」ファイル内の「Configure」メソドの「UseElasticApm」メソドを呼び出します。",
|
||||
"kbn.server.tutorials.apm.dotNetClient.configureApplication.title": "エージェントをアプリケーションに追加",
|
||||
"kbn.server.tutorials.apm.dotNetClient.download.textPre": "**警告:.NET エージェントは現在ベータで、本番向けではありません。** \n\n [NuGet]({allNuGetPacakgesLink}) から .NET アプリケーションにエージェントパッケージを追加してください。用途の異なる複数の NuGet パッケージがあります。\n\n Entity Framework Core の ASP.NET Core アプリケーションの場合は、[Elastic.Apm.All]({allApmPackageLink}) パッケージをダウンロードしてください。このパッケージは、自動的にすべてのエージェントコンポーネントをアプリケーションに追加します。\n\n 依存性を最低限に抑えたい場合、ASP.NET Core の監視のみに [Elastic.Apm.AspNetCore]({aspNetCorePackageLink}) パッケージ、または Entity Framework Core の監視のみに [Elastic.Apm.EfCore]({efCorePackageLink}) パッケージを使用することができます。\n\n 手動インストルメンテーションのみにパブリック Agent API を使用する場合は、[Elastic.Apm]({elasticApmPackageLink}) パッケージを使用してください。",
|
||||
"kbn.server.tutorials.apm.dotNetClient.download.title": "APM エージェントのダウンロード",
|
||||
"kbn.server.tutorials.apm.downloadServer.title": "APM Server をダウンロードして展開します",
|
||||
"kbn.server.tutorials.apm.downloadServerRpm": "32 ビットパッケージをお探しですか?[ダウンロードページ]({downloadPageLink}) をご覧ください。",
|
||||
|
|
|
@ -2115,7 +2115,6 @@
|
|||
"kbn.server.tutorials.apm.dotNetClient.configureApplication.textPost": "传递 `IConfiguration` 实例为可选操作,通过此操作,代理将通过此`IConfiguration` 实例 读取配置设置(例如,从 `appsettings.json` 文件)。",
|
||||
"kbn.server.tutorials.apm.dotNetClient.configureApplication.textPre": "对于 ASP.NET Core,请在 `Startup.cs` 文件内的 `Configure` 方法中调用 `UseElasticApm` 方法。",
|
||||
"kbn.server.tutorials.apm.dotNetClient.configureApplication.title": "将代理添加到应用程序",
|
||||
"kbn.server.tutorials.apm.dotNetClient.download.textPre": "**警告:.NET 代理当前为公测版,不可用于生产用途。** \n\n 将代理软件包从 [NuGet]({allNuGetPacakgesLink}) 添加到 .NET 应用程序。有多个 NuGet 软件包可用于不同的用例。\n\n 对于具有 Entity Framework Core 的 ASP.NET Core 应用程序,请下载 [Elastic.Apm.All]({allApmPackageLink}) 软件包。此软件包将自动将每个代理组件添加到 您的应用程序。\n\n 如果您希望最大程度减少依存关系,您可以将 [Elastic.Apm.AspNetCore]({aspNetCorePackageLink}) 软件包仅用于 ASP.NET Core 监测,或将 [Elastic.Apm.EfCore]({efCorePackageLink}) 软件包仅用于 Entity Framework Core 监测。\n\n 如果仅希望将公共代理 API 用于手动检测,请使用 [Elastic.Apm]({elasticApmPackageLink}) 软件包。",
|
||||
"kbn.server.tutorials.apm.dotNetClient.download.title": "下载 APM 代理",
|
||||
"kbn.server.tutorials.apm.downloadServer.title": "下载并解压缩 APM Server",
|
||||
"kbn.server.tutorials.apm.downloadServerRpm": "寻找 32 位软件包?请参阅[下载页面]({downloadPageLink})。",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue