Skip to content

IIS collector time metrics value are in wrong format #2302

@JDA88

Description

@JDA88

Current Behavior

windows_iis_current_application_pool_start_time return integer values < 50000 that doesn't look like unix timestamp

Expected Behavior

We expect values as unix timestamp.
Values are correct in v0.29.1

Steps To Reproduce

Enable IIS collector and look at time metrics values

Environment

  • windows_exporter Version: 0.31.3
  • Windows Server Version: 2022, 2025

windows_exporter logs

Nothing in the logs

Anything else?

Bellow the affected metrics I found (maybe there are others):

windows_iis_current_application_pool_start_time
windows_iis_time_since_last_worker_process_failure
windows_iis_total_application_pool_start_time

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions