Document how to use the flag --configuration-file-path
See original GitHub issueDocumentation Request
Can not use the flag configuration-file-path in dotnet-monitor
I try to use the --configuration-file-path
to specify the configuration file in dotnet-monitor command. However dotnet-monitor can not recognize the flag.
PS C:\Users\laurence> dotnet monitor collect --configuration-file-path C:\ProgramData\dotnet-monitor\settings.json
Unrecognized command or argument '--configuration-file-path'.
Unrecognized command or argument 'C:\ProgramData\dotnet-monitor\settings.json'.
Description:
Monitor logs and metrics in a .NET application send the results to a chosen destination.
Usage:
dotnet-monitor collect [options]
Options:
-u, --urls <urls> Bindings for the REST api. [default: https://localhost:52323]
--metricUrls <metricUrls> Bindings for metrics api. [default: http://localhost:52325]
-m, --metrics Enable publishing of metrics [default: True]
--diagnostic-port <diagnosticPort> The fully qualified path and filename of the diagnostic port to which runtime instances can connect.
--no-auth Turn off authentication. [default: False]
--temp-apikey Generates a new MonitorApiKey for each launch of the process. [default: False]
--no-http-egress Turn off HTTP response egress [default: False]
-?, -h, --help Show help and usage information
Previous documentation
The configuration mentioned the flag --configuration-file-path
https://github.com/dotnet/dotnet-monitor/blob/main/documentation/configuration.md#configuration-sources
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Configure Vault
Use the flag once to name the path to a single specific configuration file. Use the flag multiple times to name multiple configuration...
Read more >Tutorial: Use feature flags in an ASP.NET Core app
In this tutorial, you learn how to implement feature flags in .NET Core apps.
Read more >Configuring run time and formatting flags for the client ...
Flag Value Ty...
‑Dcom.ibm.rational.rpeng.cookies Example: ‑Dcom.ibm.rational.rpe.cookies= Ra...
‑Duser.timezone GMT+ offset. Example: ‑Duser.timezone= GMT+02:00 St...
–Xmx m The Java heap setting. Example: –Xmx512m IB...
Read more >How to configure a flag
The easiest way to create your configuration file is to used [GO Feature Flag Editor available at https://editor.gofeatureflag.org.
Read more >The mypy configuration file - mypy 1.5.1 documentation
Some flags support user home directory and environment variable expansion. To refer to the user home directory, use ~ at the beginning of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t have a specific date, but we plan to have it available this month. You can monitor the releases as it will be published there when it becomes available.
FYI, 6.3 was released today: https://github.com/dotnet/dotnet-monitor/releases/tag/v6.3.0