Skip to main content

Config reader for mimamorisan

Project description

Windchill Metric Config

Configuration parser for windchill prometheus metrics. Parses json and yaml configuration files into a Python object.

yaml

system:
  process_real_memory_total_bytes: true                                         # system total memory in bytes
  process_real_memory_used_bytes: false                                         # system used memory in bytes
  process_cpu_usage_percent: false                                              # cpu utilisation in percent
  process_disc_total_bytes: false                                               # total disc space in bytes
  process_disc_used_bytes: false                                                # used disc space in bytes
  process_users_total_count: false                                              # count of logged in users on os
  system_boot_timestamp: false                                                  # boot timestamp as label
  system_stats_info: false                                                      # various information about the host system, like os version or processor info
  network:
    process_network_bytes_sent: false                                           # bytes sent over all network addresses
    process_network_packets_recv: false                                         # bytes received over all network addresses
    process_network_err_in: false                                               # total number of errors while receiving
    process_network_err_out: false                                              # total number of errors while sending
    process_network_drop_in: true                                               # total number of incoming packets which were dropped
    process_network_drop_out: false                                             # total number of outgoing packets which were dropped (always 0 on macOS and BSD)
windchill:
  windchill_apache_status: false                                                # windchill apache status (0=not running, >1=http code)
  windchill_windchill_status: false                                             # windchill app status (0=not running, >1=http code)
  windchill_api_response_time_seconds: false                                    # windchill api (/Windchill/api/v1/publishmonitor/getworkerinfo.jsp) response time
  windchill_active_users_total: false                                           # windchill total active users count
  windchill_version_info: false                                                 # windchill version and release info
  method_server:
    windchill_server_status_runtime_start_time: false                           # windchill apache status (0=not running, >1=http code)
    windchill_server_status_runtime_uptime: false                               # windchill apache status (0=not running, >1=http code)
  queue_worker:
    windchill_worker_status: false                                              # windchill worker status (0=not running, 1=ok, 2=fails to start)
    windchill_queue_jobs_failed: false                                          # windchill failed jobs queue count
    windchill_queue_jobs_total: false                                           # windchill total jobs queue count
  garbage_collector:
    windchill_server_status_gc_time_spent_in_threshold_percent: false           # Garbage collection time spent in threshold percent
    windchill_server_status_gc_recent_time_spent_percent: false                 # Garbage collection time spent recent percent
    windchill_server_status_gc_overall_time_spent_percent: false                # Garbage collection time spent overall percent
  memory:
    windchill_server_status_memory_heap_usage_threshold_percent: false          # Heap memory usage threshold in percent
    windchill_server_status_memory_heap_usage_percent: false                    # Heap memory usage in percent
    windchill_server_status_memory_perm_gen_usage_threshold_percent: false      # Perm gen memory usage threshold in percent
    windchill_server_status_memory_perm_gen_usage_percent: false                # Perm gen memory usage in percent
  method_context:
    windchill_server_status_mc_active_contexts_average: false                   # active context average
    windchill_server_status_mc_active_contexts_end: false
    windchill_server_status_mc_active_contexts_max: false
    windchill_server_status_mc_active_contexts_start: false

upload to pypi.org

py -m build
py -m twine upload --repository pypi dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

windchill-metric-config-0.0.24.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

windchill_metric_config-0.0.24-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file windchill-metric-config-0.0.24.tar.gz.

File metadata

  • Download URL: windchill-metric-config-0.0.24.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for windchill-metric-config-0.0.24.tar.gz
Algorithm Hash digest
SHA256 abd9d2fec873ca5e75cd13d3e0edc1e1d3140817fa09b10737d0ba1ef8e60fd2
MD5 296e9f74e7d63f8b5835db10e389a7fe
BLAKE2b-256 a99ea8ddff5f84d5e35b8893237923cd09e2048e0f6f4b58860479cbbb3330c1

See more details on using hashes here.

File details

Details for the file windchill_metric_config-0.0.24-py3-none-any.whl.

File metadata

  • Download URL: windchill_metric_config-0.0.24-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for windchill_metric_config-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 aee99daea670711867e1001231839f624f2184741275353c6a710b145aa18e66
MD5 e4c40e9378f4afc60076cb3f2e42a0a9
BLAKE2b-256 5467fbb2ba5e55e7b933ae9677dfd92ffa1608ae33c53b67780b6231229dda45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page