Skip to content

feat(cockpit): add config get command to generate Prometheus remote_write snippet#5529

Open
jremy42 wants to merge 7 commits into
mainfrom
feat/cockpit-config-get
Open

feat(cockpit): add config get command to generate Prometheus remote_write snippet#5529
jremy42 wants to merge 7 commits into
mainfrom
feat/cockpit-config-get

Conversation

@jremy42
Copy link
Copy Markdown
Contributor

@jremy42 jremy42 commented Apr 27, 2026

close #2966

@jremy42 jremy42 requested a review from a team as a code owner April 27, 2026 08:28
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 27, 2026

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
2383 2 2381 17
View the top 2 failed test(s) by shortest run time
github.com/scaleway/scaleway-cli/v2/core/human::TestMarshal
Stack Traces | 0s run time
=== RUN   TestMarshal
--- FAIL: TestMarshal (0.00s)
github.com/scaleway/scaleway-cli/v2/core/human::TestMarshal/structWithMapsInSection
Stack Traces | 0s run time
=== RUN   TestMarshal/structWithMapsInSection
    marshal_test.go:155: 
        	Error Trace:	.../core/human/marshal_test.go:91
        	Error:      	Not equal: 
        	            	expected: "String              This is a string\nInt                 42\nBool                true\nStrings.0           s1\nStrings.1           s2\nTime                35 years ago\nStruct.String       -\nStruct.Int          0\nStruct.Bool         false\nStruct.Time         a long while ago\nStruct.Stringer     a stringer\nStructs.0.String    Nested string\nStructs.0.Int       0\nStructs.0.Bool      false\nStructs.0.Time      a long while ago\nStructs.0.Stringer  a stringer\nStringer            a stringer\nStringerPtr         a stringer\nSize                13 kB\nBytes               AAE=\n\nMap String List:\nkey1  v1 v2\nkey2  v3 v4\n\nMap:\nkey1  v1\nkey2  v2"
        	            	actual  : "String              This is a string\nInt                 42\nBool                true\nStrings.0           s1\nStrings.1           s2\nTime                36 years ago\nStruct.String       -\nStruct.Int          0\nStruct.Bool         false\nStruct.Time         a long while ago\nStruct.Stringer     a stringer\nStructs.0.String    Nested string\nStructs.0.Int       0\nStructs.0.Bool      false\nStructs.0.Time      a long while ago\nStructs.0.Stringer  a stringer\nStringer            a stringer\nStringerPtr         a stringer\nSize                13 kB\nBytes               AAE=\n\nMap String List:\nkey1  v1 v2\nkey2  v3 v4\n\nMap:\nkey1  v1\nkey2  v2"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -5,3 +5,3 @@
        	            	 Strings.1           s2
        	            	-Time                35 years ago
        	            	+Time                36 years ago
        	            	 Struct.String       -
        	Test:       	TestMarshal/structWithMapsInSection
--- FAIL: TestMarshal/structWithMapsInSection (0.00s)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@jremy42 jremy42 requested a review from remyleone as a code owner April 28, 2026 14:28
@remyleone remyleone added this pull request to the merge queue May 13, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for prometheus configuration generation for metrics data source

3 participants