Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

I discovered that Windows Performance Monitor offers counters like "User Defined Rate: Counter1" for an SQL Anywhere 17 Database, and found sa_user_defined_counter_add.

So I hoped to use the procedure to be able to track some db application events in the Windows Performance Monitor (Server 2019 Datacenter) using UserDefinedCounterRate01 and/or UserDefinedCounterRaw01.

But, alas, though I can see the incremented counters with sa_db_properties() the counter in the Performance Monitor remained flat on 0.

Am I missing something?

asked 08 Nov '22, 05:47

tedfroehlich's gravatar image

tedfroehlich
38071123
accept rate: 18%

edited 08 Nov '22, 09:58

Volker%20Barth's gravatar image

Volker Barth
40.4k364553825

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×275
×248
×49
×32

question asked: 08 Nov '22, 05:47

question was seen: 559 times

last updated: 08 Nov '22, 09:58