DotNet agent configuration

This documents describes the configuration of the .NET agent.\

Global parameters

In the nudgehttp section

endpoint

Address for sending data to Nudge.

Example : https://apm.atakama-technologies.com/

pathCollect

Collection path.

Default value: collect/rawdata

method

HTTP request method.

Default value: PUT

encoding

Default value: proto (application/x-protobuf)

correlation_cache

This parameter is used to enable the correlation cache for the ULS receiver for SharePoint.

Default value: true

recordCollecte

Recording of rawdata to disk: OnError = only if the rawdata could not be sent; None = no recording even if the rawdata could not be sent.

Default value: OnError

Logs (console)

In the console section

enabled

Default value: true

level

Default value: Warn

Logs (file)

In the file section

enabled

Default value: true

max_size

Default value: 10

max_backups

Default value: 5

max_age

Default value: 1

compress

Default value: false

level

Default value: Warn

Telemetry

Prometheus

To change the prometheus port, uncomment the following section :

  telemetry:
    logs:
      level: "debug"
    # metrics:
    #     readers:
    #       - pull:
    #           exporter:
    #             prometheus:
    #               host: 0.0.0.0
    #               port: 8889

SharePoint ULS

In the uls section

include - uls log path

In the include section

Default value: %ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\16\Logs\

Don’t forget to uncomment the last line of the logs section to enable the ULS receiver:

logs:
      receivers: [otlpnudge] #, uls]