question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document how to use the flag --configuration-file-path

See original GitHub issue

Documentation 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:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jander-msftcommented, Oct 4, 2022

May I know what is the timeline for the 6.3 release? Thanks. This feature allows me to set up multiple dotnet-monitor on a machine for exporting different Dotnet app metrics.

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.

0reactions
jander-msftcommented, Oct 11, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found