Skip to content

p4metrics.service error #92

@ChangminAhn

Description

@ChangminAhn

I use p4metric.service

but don't work it. I don't know problem.

But when I use SDP Option it work well.

Please let me know about this issue.

yaml file

p4port: The value of P4PORT to use

IGNORED if sdp_instance is non-blank!

p4port: 192.168.56.100:1666

----------------------

p4user: The value of P4USER to use

IGNORED if sdp_instance is non-blank!

p4user: super

----------------------

p4config: The value of a P4CONFIG to use

This is very useful and should be set to an absolute path if you need values like P4TRUST/P4TICKETS etc

IGNORED if sdp_instance is non-blank!

p4config: /p4/1/.p4config

----------------------

p4bin: The absolute path to the p4 binary to be used - important if not available in your PATH

E.g. /some/path/to/p4

IGNORED if sdp_instance is non-blank! (Will use /p4//bin/p4_)

p4bin: /p4/1/bin/p4_1


DEBU[0000] Failed to stat : stat : no such file or directory
DEBU[0000] journal volume - size 34503, free space 15032385536
DEBU[0000] journal volume - size 34503, free space 15032385536, rotate false
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x8513a3]

goroutine 1 [running]:
main.(*P4MonitorMetrics).monitorJournalAndLogs(0xc0000036c0)
/Users/rcowham/go/src/github.com/perforce/p4prometheus/cmd/p4metrics/p4metrics.go:988 +0x15a3
main.(*P4MonitorMetrics).runMonitorFunctions(0xc0000036c0)
/Users/rcowham/go/src/github.com/perforce/p4prometheus/cmd/p4metrics/p4metrics.go:2371 +0x151
main.main()
/Users/rcowham/go/src/github.com/perforce/p4prometheus/cmd/p4metrics/p4metrics.go:2463 +0x1405

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions