Jira (PDB-1849) Add filtering to 'state-overview' endpoint

1 view
Skip to first unread message

Karel Brezina (JIRA)

unread,
Aug 4, 2015, 12:08:08 PM8/4/15
to puppe...@googlegroups.com
Karel Brezina created an issue
 
PuppetDB / New Feature PDB-1849
Add filtering to 'state-overview' endpoint
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2015/08/04 9:07 AM
Priority: Normal Normal
Reporter: Karel Brezina

Add support for filtering by facts to '/pdb/ext/v1/state-overview' endpoint.

State Overview (PE Console) displays number of nodes in each status category. When a fact filter is applied it displays number of nodes in each category that match the fact filter. That's why the "filtering by facts in state-overview" is needed.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c)
Atlassian logo

Scott Walker (JIRA)

unread,
Aug 12, 2015, 4:02:08 AM8/12/15
to puppe...@googlegroups.com
Scott Walker commented on New Feature PDB-1849
 
Re: Add filtering to 'state-overview' endpoint

Our filtering implementation is very CM-specific and will change every release. I think we need to solve this in a more general fashion. I'm not sure exactly how but if /v1/state-overview could take a additional constraints in the form of a subquery, could that work?

In an ideal world this endpoint could apply the filter criteria we specify directly in the DB, but at the scale we're talking about it isn't unfeasible to ask the /v4/nodes endpoint for the statuses and calculate the aggregates ourselves. That would depend on PDB-1820. I'd put that ticket about this one, and put this one on the long finger for a time when we're sure we have a performance problem.

Karel Brezina (JIRA)

unread,
Sep 17, 2015, 10:07:06 AM9/17/15
to puppe...@googlegroups.com
Karel Brezina commented on New Feature PDB-1849

Once PDB-1977 is implemented, this task can be implemented with a sequence of PDB queries which would be more appropriate.

This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4)
Atlassian logo

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:59:06 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
 
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages