Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prometheus/procfs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.14.0
Choose a base ref
...
head repository: prometheus/procfs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.15.0
Choose a head ref
  • 9 commits
  • 17 files changed
  • 5 contributors

Commits on May 2, 2024

  1. Update common Prometheus files (#635)

    Signed-off-by: prombot <prometheus-team@googlegroups.com>
    prombot committed May 2, 2024
    Configuration menu
    Copy the full SHA
    5cca38b View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. enhancement: Use pointer fields for FibreChannel* (#623)

    * enhancement: Use pointer fields for `FibreChannel*`
    
    Allow fields to be `nil`-checked.
    
    Fixes: #612
    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    
    * fixup! enhancement: Use pointer fields for `FibreChannel*`
    
    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    
    ---------
    
    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    rexagod committed May 12, 2024
    Configuration menu
    Copy the full SHA
    68fb3df View commit details
    Browse the repository at this point in the history
  2. bugfix: Allow multiple xprt fields for NFS stats (#619)

    Allow parsing multiple `xprt` fields present in the same NFS transport
    stats data.
    
    Fixes: #450
    
    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    rexagod committed May 12, 2024
    Configuration menu
    Copy the full SHA
    2085b8f View commit details
    Browse the repository at this point in the history
  3. bugfix: s/TrimRight/TrimSuffix for certain cases (#618)

    Use `TrimSuffix` instead of `TrimRight` in cases where an exact suffix
    string needs to be removed, not all occurrences of all characters in a
    specified cutset.
    
    Fixes: #507
    
    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    rexagod committed May 12, 2024
    Configuration menu
    Copy the full SHA
    1adce6b View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Parse recovery line to be synced blocks (#637)

    Capture the blocks to be synced from the recvery line as it can differ
    from the total blocks.
    * Reformat test struct to make it easier to read.
    
    Fixes: #636
    
    Signed-off-by: SuperQ <superq@gmail.com>
    SuperQ committed May 13, 2024
    Configuration menu
    Copy the full SHA
    5a801c6 View commit details
    Browse the repository at this point in the history
  2. feat: Add support for CONFIG_CPU_FREQ_STAT (#627)

    Extracts data from the following files:
    * `total_trans`
    * `trans_table`
    * `time_in_state`
    
    Refer: https://www.kernel.org/doc/html/latest/cpu-freq/cpufreq-stats.html#configuring-cpufreq-stats.
    
    Fixes: #428
    
    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    rexagod committed May 13, 2024
    Configuration menu
    Copy the full SHA
    51f7d13 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Fixup sysfs/system_cpu.go lint errors (#638)

    Remove unnecessary nil assignment in `sysfs/system_cpu.go` to fix linter
    errors.
    
    Followup to #627
    
    Signed-off-by: SuperQ <superq@gmail.com>
    SuperQ committed May 14, 2024
    Configuration menu
    Copy the full SHA
    ae2937e View commit details
    Browse the repository at this point in the history
  2. Update class_thermal.go (#634)

    Sum-up: ignore invalid thermal zones to avoid discharding of all thermal zone metric
    
    Some thermal zones generates errors fs.PathError causing the lost of all metric data also for valid thermal zone.
    
    Example of error log: ts=2024-04-10T14:23:57.064Z caller=collector.go:169 level=error msg="collector failed" name=thermal_zone duration_seconds=0.053034792 err="read /sys/class/thermal/thermal_zone24/temp: invalid argument"
    
    Signed-off-by: miliacristian <miliacristian4@gmail.com>
    miliacristian committed May 14, 2024
    Configuration menu
    Copy the full SHA
    dbe3261 View commit details
    Browse the repository at this point in the history
  3. Bump golang.org/x/sys from 0.19.0 to 0.20.0 (#639)

    Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.19.0 to 0.20.0.
    - [Commits](golang/sys@v0.19.0...v0.20.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/sys
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 14, 2024
    Configuration menu
    Copy the full SHA
    513f259 View commit details
    Browse the repository at this point in the history
Loading