Bug 262586 - [NEW PORT] net-mgmt/grafana-agent Collector sending metrics, logs and traces
Summary: [NEW PORT] net-mgmt/grafana-agent Collector sending metrics, logs and traces
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-16 07:57 UTC by Markus Langer
Modified: 2024-02-12 08:13 UTC (History)
5 users (show)

See Also:


Attachments
first proposal (5.92 KB, patch)
2022-03-16 07:57 UTC, Markus Langer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Langer 2022-03-16 07:57:36 UTC
Created attachment 232480 [details]
first proposal

new port for grafana-agent (https://github.com/grafana/agent) which sends logs metrics and traces to the grafana stack or compatible systems like loki, cortex, tempo.
Comment 1 Markus Langer 2022-05-11 14:01:24 UTC
what do i have to do to get this in?
Comment 2 Dmitri Goutnik freebsd_committer freebsd_triage 2022-05-11 20:37:24 UTC
Needs more work, it neither builds nor runs:

- Makefile is indented with spaces, so the port (as submitted) doesn't build.

- service doesn't start because rc script specifies "name" as "grafana_agent" while the actual executable name is "grafana-agent".
Comment 3 Markus Langer 2022-05-25 11:04:19 UTC
(In reply to Dmitri Goutnik from comment #2)
>- Makefile is indented with spaces, so the port (as submitted) doesn't build.
make i did it like i did it for the bosun port before


>- service doesn't start because rc script specifies "name" as "grafana_agent" while the actual executable name is "grafana-agent".

this is not true:
name="grafana-agent"
so the binary name is defined as needed. but anyway i try to update it-
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2023-12-29 05:20:29 UTC
Comment on attachment 232480 [details]
first proposal

^Triage: convert this to text/plain and set the Patch flag so that the
automation can see it.
Comment 5 Garrett Wollman freebsd_committer freebsd_triage 2024-02-07 23:38:00 UTC
It seems that the *patch* was damaged by xterm cut-and-paste untabification. Running the patch through M-x tabify produced a new patch that extracts a port makefile that builds and passes testport.  (No idea if it works yet, this is not an ecosystem I have any familiarity with but a colleague asked me if I could run it.)
Comment 6 Markus Langer 2024-02-12 08:13:35 UTC
i am going to recheck this week, i just left that out because i hardly had time to  process that further.