Skip to main content
Solved

Capture summary of processed features

  • May 17, 2019
  • 2 replies
  • 12 views

Forum|alt.badge.img

I want to capture metrics every time someone runs the workbench on FME Server. The metrics will include the timestamp, project (a user parameter), the user (parameter), # of features read, # of features written, # of files written, and how long it took. I don't really care about the format (excel, csv, rtf, dbf, ...) just that it needs to be cumulative. The workbench is on the server for people throughout the company to use and I need to calculate usage and value added to the projects.

Is there anyway to do this?

Best answer by jdh

You're best bet is probably a shutdown script. You would have access to all the variables at https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_QuickTranslator/Configuration/FME_END_PYTHON.htm

MacroValues contains the user parameters.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • Best Answer
  • May 17, 2019

You're best bet is probably a shutdown script. You would have access to all the variables at https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_QuickTranslator/Configuration/FME_END_PYTHON.htm

MacroValues contains the user parameters.


Forum|alt.badge.img
  • Author
  • 49 replies
  • May 23, 2019

You're best bet is probably a shutdown script. You would have access to all the variables at https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_QuickTranslator/Configuration/FME_END_PYTHON.htm

MacroValues contains the user parameters.

I definitely need to look at this further. Thanks for the direction.