Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAV Server Event Trace Provider is not Registered During Setup #155

Closed
wortho opened this issue Jan 29, 2018 · 6 comments
Closed

NAV Server Event Trace Provider is not Registered During Setup #155

wortho opened this issue Jan 29, 2018 · 6 comments

Comments

@wortho
Copy link

wortho commented Jan 29, 2018

It appears that the NAV Server Event provider is not registered during setup in the latest nav docker image.

PS C:\Program Files\Microsoft Dynamics NAV\110\Service> Get-WinEvent -ListProvider 'Microsoft-DynamicsNAV-Server'
Get-WinEvent : There is not an event provider on the localhost computer that matches "Microsoft-DynamicsNAV-Server".

https://docs.microsoft.com/en-us/dynamics-nav/microsoft-dynamics-nav-server-trace-events

@freddydk
Copy link
Contributor

I will have a look at this and include the necessary in an upcoming update of the images.

@freddydk freddydk added the bug label May 21, 2018
@freddydk
Copy link
Contributor

Isn't this registered as MicrosoftDynamicsNavServer$NAV?

@wortho
Copy link
Author

wortho commented Aug 30, 2018

Not according to the docs (see link above) "There are two event trace providers that publish different trace events to the event log: Microsoft-DynamicsNAV-Server and Microsoft-DynamicsNAV-Common. The Microsoft-DynamicsNAV-Common provider is strictly for telemetry trace events. All other events use Microsoft-DynamicsNAV-Server. You typically need to specify the event trace provider in the monitoring tool that you are using."

@wortho
Copy link
Author

wortho commented Aug 31, 2018

Hi,

Just to be sure I tested it on an On-Prem NAV 2018 installation:
Get-WinEvent -ListProvider 'Microsoft-DynamicsNAV-Server'

Result:
Name : Microsoft-DynamicsNAV-Server
LogLinks : {Microsoft-DynamicsNAV-Server/Debug, Microsoft-DynamicsNAV-Server/Operational, Microsoft-DynamicsNAV-Server/
Admin}
Opcodes : {win:Start, win:Stop}
Tasks : {ExecuteScalar, ExecuteNonQuery, ExecuteReader, ReadNextResult...}

These ETW events are used for application profiling so it won't work on NAV Docker installs if the Event Provider is not installed.

@wortho
Copy link
Author

wortho commented Nov 24, 2018

@freddydk Any progress on this?

@tfenster
Copy link
Contributor

tfenster commented Dec 3, 2018

@freddydk On the off chance that this might be connected: The performance counters are also still missing, maybe those two topics can be fixed together?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants