You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by GitBox <gi...@apache.org> on 2022/03/18 09:00:39 UTC
[GitHub] [incubator-ponymail-foal] nfrankel opened a new issue #234: Query param e is ignored on stats.lua
nfrankel opened a new issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234
I tried to use the existing API deployed on <https://ponymail.apache.org/>.
```bash
curl https://lists.apache.org/api/stats.lua\?list\=dev\&domain\=apisix
```
The result is:
```json
{
"firstYear": 1970,
"lastYear": 1970,
"firstMonth": 1,
"lastMonth": 1,
"active_months": {},
"hits": 0,
"numparts": 0,
"no_threads": 0,
"emails": [],
"participants": {},
"searchlist": "<dev.apisix>",
"domain": "apisix",
"name": "dev",
"list": "dev@apisix",
"searchParams": {
"list": "dev",
"domain": "apisix",
"e": "2022-02"
},
"unixtime": 1647593751,
"thread_struct": []
}
```
Note that `lastMonth`and `lastYear` are respectively `1` and `1970.
Now, I explicitely set the end period:
```bash
curl https://lists.apache.org/api/stats.lua\?list\=dev\&domain\=apisix\&e\=2022-02
```
The boundaries haven't changed:
```json
{
"firstYear": 1970,
"lastYear": 1970,
"firstMonth": 1,
"lastMonth": 1,
"active_months": {},
"hits": 0,
"numparts": 0,
"no_threads": 0,
"emails": [],
"participants": {},
"searchlist": "<dev.apisix>",
"domain": "apisix",
"name": "dev",
"list": "dev@apisix",
"searchParams": {
"list": "dev",
"domain": "apisix",
"e": "2022-02"
},
"unixtime": 1647593996,
"thread_struct": []
}
```
Either there's an issue, or I'm misunderstanding how it works.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] nfrankel commented on issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
nfrankel commented on issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234#issuecomment-1072217844
Thanks a lot for your very fast feedback! Appreciate this. Perhaps the documentation could mention this?
Feel free to close the issue as it's obviously not relevant.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh closed issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
Humbedooh closed issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh closed issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
Humbedooh closed issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh commented on issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234#issuecomment-1072216281
I'll also note that firstYear and lastYear won't change because of this, they'll always show the absolute values
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh commented on issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234#issuecomment-1072220411
That's a good suggestion, thanks.
Our API docs are in need of a revamp anyway :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh commented on issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234#issuecomment-1072214833
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] nfrankel commented on issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
nfrankel commented on issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234#issuecomment-1072217844
Thanks a lot for your very fast feedback! Appreciate this. Perhaps the documentation could mention this?
Feel free to close the issue as it's obviously not relevant.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] Humbedooh commented on issue #234: Query param e is ignored on stats.lua
Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #234:
URL: https://github.com/apache/incubator-ponymail-foal/issues/234#issuecomment-1072214833
two things:
- you should use 'apisix.apache.org' as the domain there, or it won't show any results
- `e` requires that `s` (start month) is also set.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org