Skip to content

Commit

Permalink
config apm
Browse files Browse the repository at this point in the history
  • Loading branch information
Tynab committed Jun 25, 2023
1 parent fec7366 commit d138716
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 24 deletions.
17 changes: 5 additions & 12 deletions host/YANLib.HttpApi.Host/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,10 @@
}
]
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Information"
},
"ElasticApm": {
"Enabled": true,
"ServerUrls": "http://localhost:8200",
"ServiceName": "YANLib",
"Environment": "Development",
"SecretToken": ""
}
"ElasticApm": {
"ServiceName": "YANLib",
"SecretToken": "",
"ServerUrl": "http://apm-server:8200",
"Environment": "Development"
}
}
17 changes: 5 additions & 12 deletions host/YANLib.HttpApi.Host/appsettings.Production.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,10 @@
}
]
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Information"
},
"ElasticApm": {
"Enabled": true,
"ServerUrls": "http://localhost:8200",
"ServiceName": "YANLib",
"Environment": "Production",
"SecretToken": ""
}
"ElasticApm": {
"ServiceName": "YANLib",
"SecretToken": "",
"ServerUrl": "http://apm-server:8200",
"Environment": "Production"
}
}

0 comments on commit d138716

Please sign in to comment.