Skip to content

SCS-0112: Add document regarding the metering format decision - #308

Merged
artificial-intelligence merged 1 commit into
SovereignCloudStack:mainfrom
cloudandheat:metering-format
Jul 21, 2023
Merged

artificial-intelligence merged 1 commit into
SovereignCloudStack:mainfrom
cloudandheat:metering-format

Conversation

@horazont

Copy link
Copy Markdown
Member

No description provided.

@horazont

Copy link
Copy Markdown
Member Author

Open formal question: do we want to document the format fully here?

@fkr fkr added IaaS Issues or pull requests relevant for Team1: IaaS SCS-VP13 Related to tender lot SCS-VP13 Sprint Edmonton Sprint Edmonton (2023, cwk 24+25) labels Jun 14, 2023
@fkr fkr added this to the R5 (v6.0.0) milestone Jun 14, 2023
@mbuechse

Copy link
Copy Markdown
Contributor

I agree that we shouldn't take on the burden of documenting the JSON format. I understand that Ceilometer seems to be without alternative on OpenStack. However, the document is still missing introduction and motivation, and I have to say that I don't quite understand what is being standardized and why. A metering format, okay, but how does this format tie in with the whole? I'm (earnestly) missing the context.

Comment thread Standards/scs-0412-v1-metering-json.md Resolved
Comment thread Standards/scs-0412-v1-metering-json.md Resolved
@mbuechse

Copy link
Copy Markdown
Contributor

@horazont With the introduction and motivation in place, I now understand much better what is going on, but I am left a bit baffled because in essence, what this document says is: we need to agree on a standard data format to act as a bridge between systems, and for this, we choose the Ceilometer HTTP format, but now if you want to implement your adapter, you are out of luck, because the format is defined nowhere (besides maybe the Ceilometer code)? "Unfortunate" is an understatement, don't you think? I don't mean to rain on your parade, but maybe we need some line of reasoning as to why this situation isn't so bad after all -- maybe provide some very practical tips to people who want to implement an adapter? Would that be possible?

@fkr fkr added the Sprint Freiburg Sprint Freiburg (2023, cwk 26+27) label Jun 29, 2023
@horazont

horazont commented Jul 4, 2023

Copy link
Copy Markdown
Member Author

@mbuechse Thanks for the remark. We asked upstream how to best handle this.

@fkr

fkr commented Jul 19, 2023

Copy link
Copy Markdown
Member

Discussed with upstream and concluded it is of value to be documented upstream. As such: outside the scope of this PR.

@fkr fkr added the Sprint Gothenburg Sprint Gothenburg (2023, cwk 28+29) label Jul 19, 2023
@artificial-intelligence

Copy link
Copy Markdown
Contributor

Discussed with upstream and concluded it is of value to be documented upstream. As such: outside the scope of this PR.

is there an upstream issue or PR we could link to?

@fkr

fkr commented Jul 19, 2023

Copy link
Copy Markdown
Member

is there an upstream issue or PR we could link to?

Thanks for prompting this :)
SovereignCloudStack/issues#362

Comment thread Standards/scs-0412-v1-metering-json.md Resolved

@fkr fkr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fkr

fkr commented Jul 21, 2023

Copy link
Copy Markdown
Member

@artificial-intelligence whats your take on this PR now? Imho it is good to go in.

@artificial-intelligence

Copy link
Copy Markdown
Contributor

@artificial-intelligence whats your take on this PR now? Imho it is good to go in.

let me look again..

@artificial-intelligence artificial-intelligence left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should add tests once upstream has the metering format documented.
otherwise LGTM

@artificial-intelligence
artificial-intelligence merged commit c35aef3 into SovereignCloudStack:main Jul 21, 2023
cah-hbaum pushed a commit that referenced this pull request Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IaaS Issues or pull requests relevant for Team1: IaaS SCS-VP13 Related to tender lot SCS-VP13 Sprint Edmonton Sprint Edmonton (2023, cwk 24+25) Sprint Freiburg Sprint Freiburg (2023, cwk 26+27) Sprint Gothenburg Sprint Gothenburg (2023, cwk 28+29)

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants