The reason is that "month" is not a proper interval as it is not a constant duration. Depending on your data source, you may be able to aggregate the data by month. For example, InfluxDB 2.0 supports aggregation by month using Flux (note that prior to 2.0 aggregation by month wasn't supported).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…